> I am getting this error and am trying to find any info that could help
> me get past it.
> 
> Relevant code snippet:
> 
>    if(!(d->ssl_ctx=SSL_CTX_new(SSLv23_server_method())))
>    {
>            perror("SSL_CTX_new:");
>    }
> 
> 
> Error I get:
> 
> SSL_CTX_new:: No such file or directory

You should probably be using the openssl-users mailing list, not -dev.
Next, the proper way to grab an openssl error would be something
like this:

        char error[255];
        unsigned long err;

        err = ERR_get_error();
        ERR_error_string_n(err, error, sizeof(error));
        printf("SSL_CTX_new: %s\n", error);

OpenSSL doesn't use the system errno.


-Brad

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to