OpenSSL was built with "no-rsa no-idea no-rc2 no-rc4 no-rc5 -DSSL_ALLOW_ADH".
I then built stunnel it complained about the following symbols.

Undefined                       first referenced
 symbol                             in file
ssl2_clear                          /usr/local/ssl/lib/libssl.a(s23_srvr.o)
ssl2_num_ciphers                    /usr/local/ssl/lib/libssl.a(s23_lib.o)
ssl2_new                            /usr/local/ssl/lib/libssl.a(s23_srvr.o)
ssl2_get_cipher_by_char             /usr/local/ssl/lib/libssl.a(s23_lib.o)
SSLv2_server_method                 /usr/local/ssl/lib/libssl.a(s23_srvr.o)
ssl2_get_cipher                     /usr/local/ssl/lib/libssl.a(s23_lib.o)
ld: fatal: Symbol referencing errors. No output written to stunnel
collect2: ld returned 1 exit status
make: *** [stunnel] Error 1

I checked the apps dir in OpenSSL and found that s_server.c had defined 
NO_SSL2 if NO_RSA was defined.  Then all ssl2 functions were wrapped with
#ifndef NO_SSL2.  Is it safe to wrap the above functions in the same way?

Or is there some standard way that OpenSSL can be built with no-rsa and 
have these functions either defined or not referenced?

Thanks,
John.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to