aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-09-23 16:11:37 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-09-23 16:11:37 -0400
commit78d9cbabb7a360277864f39157c506279c1abdde (patch)
tree353bebc312d62fea38135c4ab3d5662eca327682
parent2ef1f6f4fc5bdc069483a527ab3a1b060c71fcad (diff)
set their_key_set flag explicitly on init
-rw-r--r--src/sas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sas.c b/src/sas.c
index 8d239b1..75e7724 100644
--- a/src/sas.c
+++ b/src/sas.c
@@ -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;
}