Compiling openssh-4.0p1 on Solaris 10.

Darren Tucker dtucker at zip.com.au
Thu Jun 9 10:55:29 EST 2005


Damien Miller wrote:
> I just noticed this on the Solaris 10 beta box that is lying around here:
> fix compilation on Sun's cripples SUNWopenssl package.
[...]
> +#ifndef OPENSSL_LOBOTOMISED_AES
>  	{ "aes192-cbc",		SSH_CIPHER_SSH2, 16, 24, EVP_aes_192_cbc },
>  	{ "aes256-cbc",		SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc },
>  	{ "rijndael-cbc at lysator.liu.se",
>  				SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc },
>  #endif

We've got the required code right there in rijndael.c, it would be easy 
to build non-crippled binaries even if the system openssl doesn't have 
those...

As for the configure test, why not just:
	AC_CHECK_FUNCS(EVP_aes_192_cbc EVP_aes_256_cbc)
?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list