Re: Wildcard ssl certificate using subjectAltName

2006-03-08 Thread caveman007 (sent by Nabble.com)
BTW, when I want to extract this DNS (e.g. in the case of authentication/identity validation) as a char* string, I'm trying this: GENERAL_NAME* gen = X509_get_ext_d2i (cert, NID_dNSDomain, NULL, NULL); if (gen gen-type == GEN_DNS) { char* buf =

Re: Session Memory Leek?

2006-03-02 Thread caveman007 (sent by Nabble.com)
What about the 'copy' parameter og get_session_cb() ? Probably you're using it, but haven't noticed in your question... -- View this message in context: http://www.nabble.com/Session-Memory-Leek--t594071.html#a3205710 Sent from the OpenSSL - User forum at Nabble.com.

Selecting a session within get_session_cb(): howto?

2006-03-02 Thread caveman007 (sent by Nabble.com)
Hello, when setting-up external caching management, I got to set also the get_session_cb() for my context. But I have no ide, how to select the session to return. E.g. I can read a session using PEM_read_session() into a SSL_SESSION object, but i need to compare it's session-id with that one