From 78d9cbabb7a360277864f39157c506279c1abdde Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 23 Sep 2020 16:11:37 -0400 Subject: [PATCH] set their_key_set flag explicitly on init --- src/sas.c | 1 + 1 file changed, 1 insertion(+) 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; }