projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Zero is a valid value for any_skip and map_skip
[oweals/openssl.git]
/
crypto
/
des
/
read_pwd.c
diff --git
a/crypto/des/read_pwd.c
b/crypto/des/read_pwd.c
index c79c9a0e2aab9e94eb0f9bdc1c8206adff714a04..ce5fa00a37a42fdf8d38bb6e36e2cb720744e5df 100644
(file)
--- a/
crypto/des/read_pwd.c
+++ b/
crypto/des/read_pwd.c
@@
-220,7
+220,7
@@
int des_read_pw_string(char *buf, int length, const char *prompt,
int ret;
ret=des_read_pw(buf,buff,(length>BUFSIZ)?BUFSIZ:length,prompt,verify);
-
memset(buff,0
,BUFSIZ);
+
OPENSSL_cleanse(buff
,BUFSIZ);
return(ret);
}