[prev in list] [next in list] [prev in thread] [next in thread]
List: openssl-users
Subject: Problems when reusing sessions
From: "David J. Palaitis" <dpalaitis () lockstar ! com>
Date: 1999-07-28 17:32:56
[Download RAW message or body]
?,
i had a problem with session ID reuse and openSSL0.9.2b
i set the verify flags to
SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE | SSL_VERIFY_FAIL_IF_NO_PEER_CERT
but sessions weren't being reused,...
i traced through the code until i failed on ,...
if((s->verify_mode&SSL_VERIFY_PEER) && (!s->sid_ctx_length) etc. etc.
i fixed this with the following
fb->ssl = SSL_new(pConfig->pSSLCtx);
SSL_set_session_id_context(fb->ssl,(UCHAR *)"dave",(UINT)4);
SSL_set_fd(fb->ssl,fb-fd);
it worked !
something tells me that args 2 and 3 to SSL_set_session_id_context
are not correct.
does anyone know what type of info should go in there ?
dave.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic