[openssh] Patch for missing ciphers in OpenSSL's libcrypto

Jim Schneider jschneid at netilla.com
Sat Jan 24 05:49:43 EST 2004


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 


More information about the openssh-unix-dev mailing list