diff options
author | jsing <jsing@openbsd.org> | 2015-09-10 15:56:24 +0000 |
---|---|---|
committer | jsing <jsing@openbsd.org> | 2015-09-10 15:56:24 +0000 |
commit | 0f777b12ad023193791105beba95cb4fa7d67201 (patch) | |
tree | 60a255db2a046668cf589c4900cc8b4aeeb45fab /lib/libssl/t1_enc.c | |
parent | reduce more .Nd to one line and kill more .Tn (diff) | |
download | wireguard-openbsd-0f777b12ad023193791105beba95cb4fa7d67201.tar.xz wireguard-openbsd-0f777b12ad023193791105beba95cb4fa7d67201.zip |
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'lib/libssl/t1_enc.c')
-rw-r--r-- | lib/libssl/t1_enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/t1_enc.c b/lib/libssl/t1_enc.c index a3a5d4dd7d8..5d2b8eaf896 100644 --- a/lib/libssl/t1_enc.c +++ b/lib/libssl/t1_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_enc.c,v 1.80 2015/08/27 14:16:57 jsing Exp $ */ +/* $OpenBSD: t1_enc.c,v 1.81 2015/09/10 15:56:26 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -226,7 +226,7 @@ err: EVP_PKEY_free(mac_key); EVP_MD_CTX_cleanup(&ctx); EVP_MD_CTX_cleanup(&ctx_tmp); - OPENSSL_cleanse(A1, sizeof(A1)); + explicit_bzero(A1, sizeof(A1)); return ret; } @@ -659,7 +659,7 @@ tls1_setup_key_block(SSL *s) err: if (tmp_block) { - OPENSSL_cleanse(tmp_block, key_block_len); + explicit_bzero(tmp_block, key_block_len); free(tmp_block); } return (ret); |