projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove DJGPP (and therefore WATT32) #ifdef's.
[openssl.git]
/
crypto
/
des
/
read_pwd.c
diff --git
a/crypto/des/read_pwd.c
b/crypto/des/read_pwd.c
index c79c9a0e2aab9e94eb0f9bdc1c8206adff714a04..9042afe1731483285da75953409b1169f627e3ff 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);
int ret;
ret=des_read_pw(buf,buff,(length>BUFSIZ)?BUFSIZ:length,prompt,verify);
-
memset(buff,0
,BUFSIZ);
+
OPENSSL_cleanse(buff
,BUFSIZ);
return(ret);
}
return(ret);
}
@@
-266,7
+266,7
@@
int des_read_pw(char *buf, char *buff, int size, const char *prompt,
long status;
unsigned short channel = 0;
#else
long status;
unsigned short channel = 0;
#else
-#if !defined(OPENSSL_SYS_MSDOS)
|| defined(__DJGPP__)
+#if !defined(OPENSSL_SYS_MSDOS)
TTY_STRUCT tty_orig,tty_new;
#endif
#endif
TTY_STRUCT tty_orig,tty_new;
#endif
#endif