« Return to Thread: SSL Client does not work

Re: SSL Client does not work

by Mathias Spoerr :: Rate this Message:

Reply to Author | View in Thread

Hello again,

I managed to debug the lib when running the test app...
Some words to my environment: I use Windows 7 and Visual Studio 2008.

1) When running as Administrator, I get a debug assertion: dnc.c Line 551:
Expression DEBUG_WARN

2) When running as normal user, I get the error message:
Testing cert chain write to key file ...
cryptKeysetOpen() failed with error code -21, line 894.


Where should I set break points and which information do you need?

Regards,
Mathias


-----Ursprüngliche Nachricht-----
Von: pgut001 [mailto:pgut001@...]
Gesendet: Donnerstag, 04. Juni 2009 05:11
An: cryptlib@...; mathias@...
Betreff: Re: [Cryptlib] SSL Client does not work

"Mathias Spoerr" <mathias@...> writes:

>  retKey = cryptCreateSession(&cryptSession, CRYPT_UNUSED,
>    CRYPT_SESSION_SSL);
>
>This function returns with "-2". What am I missing?

I don't know, you'd have to step into the code to see where the error is
coming from.  Does the self-test work?

Peter.


_______________________________________________
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