diff options
Diffstat (limited to 'crypto/ui')
-rw-r--r-- | crypto/ui/ui_compat.c | 8 | ||||
-rw-r--r-- | crypto/ui/ui_compat.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/crypto/ui/ui_compat.c b/crypto/ui/ui_compat.c index 701c07c181..2b4429416f 100644 --- a/crypto/ui/ui_compat.c +++ b/crypto/ui/ui_compat.c @@ -61,26 +61,26 @@ #include <openssl/ui_compat.h> #ifndef OPENSSL_NO_DES -int des_read_password(des_cblock *key, const char *prompt, int verify) +int des_read_password(DES_cblock *key, const char *prompt, int verify) { int ok; char buf[BUFSIZ],buff[BUFSIZ]; if ((ok=des_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0) - des_string_to_key(buf,key); + DES_string_to_key(buf,key); memset(buf,0,BUFSIZ); memset(buff,0,BUFSIZ); return(ok); } -int des_read_2passwords(des_cblock *key1, des_cblock *key2, const char *prompt, +int des_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, int verify) { int ok; char buf[BUFSIZ],buff[BUFSIZ]; if ((ok=des_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0) - des_string_to_2keys(buf,key1,key2); + DES_string_to_2keys(buf,key1,key2); memset(buf,0,BUFSIZ); memset(buff,0,BUFSIZ); return(ok); diff --git a/crypto/ui/ui_compat.h b/crypto/ui/ui_compat.h index 6e547b6ceb..a7f62a4751 100644 --- a/crypto/ui/ui_compat.h +++ b/crypto/ui/ui_compat.h @@ -73,8 +73,8 @@ extern "C" { and are provided here for backward compatibility reasons. */ #ifndef OPENSSL_NO_DES -int des_read_password(des_cblock *key,const char *prompt,int verify); -int des_read_2passwords(des_cblock *key1,des_cblock *key2, +int des_read_password(DES_cblock *key,const char *prompt,int verify); +int des_read_2passwords(DES_cblock *key1,DES_cblock *key2, const char *prompt,int verify); #endif |