diff options
Diffstat (limited to 'kexc25519.c')
-rw-r--r-- | kexc25519.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexc25519.c b/kexc25519.c index 48ca4aaa2..ee79b4327 100644 --- a/kexc25519.c +++ b/kexc25519.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexc25519.c,v 1.4 2014/01/12 08:13:13 djm Exp $ */ | 1 | /* $OpenBSD: kexc25519.c,v 1.5 2014/01/31 16:39:19 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001, 2013 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001, 2013 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2010 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2010 Damien Miller. All rights reserved. |
@@ -70,7 +70,7 @@ kexc25519_shared_key(const u_char key[CURVE25519_SIZE], | |||
70 | #endif | 70 | #endif |
71 | buffer_clear(out); | 71 | buffer_clear(out); |
72 | buffer_put_bignum2_from_string(out, shared_key, CURVE25519_SIZE); | 72 | buffer_put_bignum2_from_string(out, shared_key, CURVE25519_SIZE); |
73 | memset(shared_key, 0, CURVE25519_SIZE); /* XXX explicit_bzero() */ | 73 | explicit_bzero(shared_key, CURVE25519_SIZE); |
74 | } | 74 | } |
75 | 75 | ||
76 | void | 76 | void |