diff options
author | markus <> | 2002-09-05 22:45:21 +0000 |
---|---|---|
committer | markus <> | 2002-09-05 22:45:21 +0000 |
commit | 2a6851ef8adb0e84ff2515493d3704a13c6256b0 (patch) | |
tree | 9df5b497548eaf51e9f234d27aaf988cd14882c2 /src/lib/libcrypto/des | |
parent | 5514995a9d5ed91db089875adb509c7781357c0e (diff) | |
download | openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.gz openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.tar.bz2 openbsd-2a6851ef8adb0e84ff2515493d3704a13c6256b0.zip |
import openssl-0.9.7-beta3
Diffstat (limited to 'src/lib/libcrypto/des')
-rw-r--r-- | src/lib/libcrypto/des/des_old.h | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/des/read_pwd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/des/des_old.h b/src/lib/libcrypto/des/des_old.h index 3778f93c15..51b987422a 100644 --- a/src/lib/libcrypto/des/des_old.h +++ b/src/lib/libcrypto/des/des_old.h | |||
@@ -173,7 +173,7 @@ typedef struct _ossl_old_des_ks_struct | |||
173 | DES_fcrypt((b),(s),(r)) | 173 | DES_fcrypt((b),(s),(r)) |
174 | #define des_crypt(b,s)\ | 174 | #define des_crypt(b,s)\ |
175 | DES_crypt((b),(s)) | 175 | DES_crypt((b),(s)) |
176 | #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) | 176 | #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__) |
177 | #define crypt(b,s)\ | 177 | #define crypt(b,s)\ |
178 | DES_crypt((b),(s)) | 178 | DES_crypt((b),(s)) |
179 | #endif | 179 | #endif |
@@ -366,7 +366,7 @@ int _ossl_old_des_enc_write(int fd,char *buf,int len,_ossl_old_des_key_schedule | |||
366 | _ossl_old_des_cblock *iv); | 366 | _ossl_old_des_cblock *iv); |
367 | char *_ossl_old_des_fcrypt(const char *buf,const char *salt, char *ret); | 367 | char *_ossl_old_des_fcrypt(const char *buf,const char *salt, char *ret); |
368 | char *_ossl_old_des_crypt(const char *buf,const char *salt); | 368 | char *_ossl_old_des_crypt(const char *buf,const char *salt); |
369 | #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) | 369 | #if !defined(PERL5) && !defined(NeXT) |
370 | char *_ossl_old_crypt(const char *buf,const char *salt); | 370 | char *_ossl_old_crypt(const char *buf,const char *salt); |
371 | #endif | 371 | #endif |
372 | void _ossl_old_des_ofb_encrypt(unsigned char *in,unsigned char *out, | 372 | void _ossl_old_des_ofb_encrypt(unsigned char *in,unsigned char *out, |
diff --git a/src/lib/libcrypto/des/read_pwd.c b/src/lib/libcrypto/des/read_pwd.c index 00000190f8..9061935f21 100644 --- a/src/lib/libcrypto/des/read_pwd.c +++ b/src/lib/libcrypto/des/read_pwd.c | |||
@@ -246,7 +246,7 @@ int des_read_pw(char *buf, char *buff, int size, const char *prompt, | |||
246 | long status; | 246 | long status; |
247 | unsigned short channel = 0; | 247 | unsigned short channel = 0; |
248 | #else | 248 | #else |
249 | #ifndef OPENSSL_SYS_MSDOS | 249 | #if !defined(OPENSSL_SYS_MSDOS) || defined(__DJGPP__) |
250 | TTY_STRUCT tty_orig,tty_new; | 250 | TTY_STRUCT tty_orig,tty_new; |
251 | #endif | 251 | #endif |
252 | #endif | 252 | #endif |