1488
1488
if(Curl_ssl_getsessionid(conn, &ssl_sessionid, NULL)) {
1489
1489
/* Since this is not a cached session ID, then we want to stach this one
1492
1492
#ifdef HAVE_SSL_GET1_SESSION
1495
1495
/* SSL_get1_session() will increment the reference
1496
1496
count and the session will stay in memory until explicitly freed with
1497
1497
SSL_SESSION_free(3), regardless of its state.
1498
1498
This function was introduced in openssl 0.9.5a. */
1502
1502
/* if SSL_get1_session() is unavailable, use SSL_get_session().
1503
1503
This is an inferior option because the session can be flushed