set their_key_set flag explicitly on init
This commit is contained in:
parent
2ef1f6f4fc
commit
78d9cbabb7
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ size_t olm_create_sas(
|
||||||
return (size_t)-1;
|
return (size_t)-1;
|
||||||
}
|
}
|
||||||
_olm_crypto_curve25519_generate_key((uint8_t *) random, &sas->curve25519_key);
|
_olm_crypto_curve25519_generate_key((uint8_t *) random, &sas->curve25519_key);
|
||||||
|
sas->their_key_set = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue