set their_key_set flag explicitly on init

This commit is contained in:
Hubert Chathi 2020-09-23 16:11:37 -04:00
parent 2ef1f6f4fc
commit 78d9cbabb7

View file

@ -63,6 +63,7 @@ size_t olm_create_sas(
return (size_t)-1;
}
_olm_crypto_curve25519_generate_key((uint8_t *) random, &sas->curve25519_key);
sas->their_key_set = 0;
return 0;
}