Hi, So you currently have: #ifndef OPENSSL_NO_SSL2 %rename(sslv2_method) SSLv2_method; extern SSL_METHOD *SSLv2_method(void); #endif %rename(sslv3_method) SSLv3_method; extern SSL_METHOD *SSLv3_method(void); %rename(sslv23_method) SSLv23_method; extern SSL_METHOD *SSLv23_method(void); %rename(tlsv1_method) TLSv1_method; extern SSL_METHOD *TLSv1_method(void);
You need to atleast do the same for the SSLv3 methods. I also recommend to remove everything but the SSLv23_method(). It's the only one that supports multiple protocol versions, the others are all version specific. Kurt