projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free cleanup almost the finale
[openssl.git]
/
apps
/
apps.c
diff --git
a/apps/apps.c
b/apps/apps.c
index f74b968baf98c7868b35842b215ae7146bde002c..aecd6120f9683df82f575aecdc732a32eb685606 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-377,10
+377,7
@@
int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp)
}
while (ok < 0 && UI_ctrl(ui, UI_CTRL_IS_REDOABLE, 0, 0, 0));
- if (buff) {
- OPENSSL_cleanse(buff, (unsigned int)bufsiz);
- OPENSSL_free(buff);
- }
+ OPENSSL_clear_free(buff, (unsigned int)bufsiz);
if (ok >= 0)
res = strlen(buf);