« Return to Thread: SSL Client does not work

SSL Client does not work

by Mathias Spoerr :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello,

 

I already use cryptlib for SSH and wanted to add SSL support to my application, but it does not work:

Code:

                cryptInit();

                CRYPT_SESSION cryptSession;

                int retKey = 0;

                // Create the session

                retKey = cryptCreateSession(&cryptSession, CRYPT_UNUSED, CRYPT_SESSION_SSL);

 

This function returns with "-2". What am I missing?

I use cryptlib version 3.3.2

 

Thanks,

Mathias


_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: SSL Client does not work