summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md5/md5_one.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/md5/md5_one.c')
-rw-r--r--src/lib/libcrypto/md5/md5_one.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/md5/md5_one.c b/src/lib/libcrypto/md5/md5_one.c
index f4cc56adb2..3fb05de30c 100644
--- a/src/lib/libcrypto/md5/md5_one.c
+++ b/src/lib/libcrypto/md5/md5_one.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: md5_one.c,v 1.9 2015/09/10 15:03:59 jsing Exp $ */ 1/* $OpenBSD: md5_one.c,v 1.10 2015/09/10 15:56:25 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -71,7 +71,7 @@ unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
71 return NULL; 71 return NULL;
72 MD5_Update(&c,d,n); 72 MD5_Update(&c,d,n);
73 MD5_Final(md,&c); 73 MD5_Final(md,&c);
74 OPENSSL_cleanse(&c,sizeof(c)); 74 explicit_bzero(&c,sizeof(c));
75 return(md); 75 return(md);
76 } 76 }
77 77