On Fri, Oct 10, 2014 at 11:44 AM, ag@gmail <amarendra.godb...@gmail.com> wrote:
> openssl s_client -ssl2... maybe?
>
Thanks ag. I'm working from within the library in C.

I was thinking something like:

int ssl2_avail = 0;
#ifndef NO_SSL2
    if(SSLv2_client_method())
        ssl2_avail = 1;
#endif

But its not clear to me if it accurately represents the availability.
For example, what if SSLv2_client_method() returns non-NULL but SSLv2
was disabled in some other way by a distribution.

Jeff

>> On Oct 10, 2014, at 8:19 AM, Jeffrey Walton <noloa...@gmail.com> wrote:
>>
>> I need to determine if SSLv2 is available at runtime. I know I can
>> check for NO_SSL2 at compile time, but I don't recall a runtime
>> feature check.
>>
>> Is there a way to determine if the library is capable of SSLv2 at runtime?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to