Jim Schneider
2004-Jan-23 18:49 UTC
[openssh] Patch for missing ciphers in OpenSSL's libcrypto
For various reasons, I have compiled libcrypto without support for Blowfish or CAST, which was causing a build of OpenSSH 3.7.1p2 to fail. The attached patch file fixes this and other possible errors by checking to make sure the required ciphers are available before attempting to reference their environment structures. This should work building against both OpenSSL 0.9.6 and OpenSSL 0.9.7 (although I have only tested it against OpenSSL 0.9.7). I also have not tested this patch while running the protocol in version 1 mode. In addition to letting you build on a system without some ciphers in libcrypto, you can also explicitly exclude support for ciphers that are available in libcrypto by including -DNO_BF or similar defines in CFLAGS. -------------- next part -------------- A non-text attachment was scrubbed... Name: conditional-ciphers.patch.gz Type: application/x-gzip Size: 996 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20040123/eba302a1/attachment.bin
Reasonably Related Threads
- dirty hack to solve: 0509-150 Dependent module libcrypto.a(libcrypto.so.0.9.7) could not be loaded
- [Bug 862] libcrypto open failed
- Solaris 8, Can't find recent OpenSSL libcrypto
- building openssh with openssl-fips: cygwin can't find libcrypto
- [Bug 1460] New: openssh-4.9p1.tar.gz configure:15943: error: *** Can't find recent OpenSSL libcrypto