IRIX64 6.5 01101245 IP27
20010425 CVS
- (djm) Include crypt.h if available in auth-passwd.c
cc-1143 cc: ERROR File = /usr/include/crypt.h, Line = 38
Declaration is incompatible with
"void des_encrypt(unsigned long *, struct des_ks_struct *,
int)"
(declared at line 150 of
"/usr/local/ssl/include/openssl/des.h").
extern void des_encrypt(char *, int);
^
1 error detected in the compilation of "auth-passwd.c".
*** Error code 2 (bu21)
It seems SGI's libcrypt includes a version of des_encrypt() that isn't
the
same as Openssl's. This is part of the crypt(3X) package. Removing the
#include <crypt.h> makes the error go away.
Circa 2001-May-01 17:14:19 +0900 dixit Tom Holroyd:
: IRIX64 6.5 01101245 IP27
[...]
: It seems SGI's libcrypt includes a version of des_encrypt() that isn't
the
: same as Openssl's. This is part of the crypt(3X) package. Removing the
: #include <crypt.h> makes the error go away.
You'll want to upgrade to OpenSSL-0.9.6a. From the NEWS file:
Major changes between OpenSSL 0.9.6 and OpenSSL 0.9.6a:
[...]
o Compatibility fix: the function des_encrypt() renamed to
des_encrypt1() to avoid clashes with some Unixen libc.
Of course, you may want to upgrade for other reasons anyway:
o Security fix: change behavior of OpenSSL to avoid using
environment variables when running as root.
o Security fix: check the result of RSA-CRT to reduce the
possibility of deducing the private key from an incorrectly
calculated signature.
o Security fix: prevent Bleichenbacher's DSA attack.
o Security fix: Zero the premaster secret after deriving the
master secret in DH ciphersuites.
--
jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 249 bytes
Desc: not available
Url :
http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010501/e018e46a/attachment.bin