diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-09-10 15:56:27 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-09-10 15:56:27 +0000 |
commit | 4b185770bb48b33b3458575b4dd273d9e9e5b60a (patch) | |
tree | fdb63280eeb935a98b2cf72fae41e177686c15ea /lib/libssl/s3_srvr.c | |
parent | 3a518e4ad573c57d1cc478fe3257cbd80f7098fc (diff) |
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'lib/libssl/s3_srvr.c')
-rw-r--r-- | lib/libssl/s3_srvr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/s3_srvr.c b/lib/libssl/s3_srvr.c index 3f9f6720fac..b2c4f8e0d2b 100644 --- a/lib/libssl/s3_srvr.c +++ b/lib/libssl/s3_srvr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_srvr.c,v 1.115 2015/09/01 13:38:27 jsing Exp $ */ +/* $OpenBSD: s3_srvr.c,v 1.116 2015/09/10 15:56:26 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1725,7 +1725,7 @@ ssl3_get_client_key_exchange(SSL *s) s->method->ssl3_enc->generate_master_secret(s, s->session->master_key, p, i); - OPENSSL_cleanse(p, i); + explicit_bzero(p, i); } else if (alg_k & SSL_kDHE) { if (2 > n) goto truncated; @@ -1776,7 +1776,7 @@ ssl3_get_client_key_exchange(SSL *s) s->session->master_key_length = s->method->ssl3_enc->generate_master_secret( s, s->session->master_key, p, i); - OPENSSL_cleanse(p, i); + explicit_bzero(p, i); } else if (alg_k & (SSL_kECDHE|SSL_kECDHr|SSL_kECDHe)) { @@ -1920,7 +1920,7 @@ ssl3_get_client_key_exchange(SSL *s) s->session->master_key_length = s->method->ssl3_enc-> \ generate_master_secret(s, s->session->master_key, p, i); - OPENSSL_cleanse(p, i); + explicit_bzero(p, i); return (ret); } else if (alg_k & SSL_kGOST) { |