aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}