Lines Matching defs:session
753 {"context", OPT_CONTEXT, 's', "Set session ID context"},
814 "Generate SSL/TLS session IDs prefixed by arg"},
835 {"no_cache", OPT_NO_CACHE, '-', "Disable session cache"},
899 {"psk_session", OPT_PSK_SESS, '<', "File to read PSK SSL session from"},
913 "The number of TLSv1.3 session tickets that a server will automatically issue" },
1872 "warning: id_prefix is too long, only one new session will be possible\n");
1976 "warning: id_prefix is too long, only one new session will be possible\n");
2137 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf);
2144 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf);
2158 BIO_printf(bio_err, "error setting session id context\n");
2176 BIO_printf(bio_err, "error setting session id context\n");
2276 BIO_printf(bio, "%4ld items in the session cache\n",
2290 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx));
2291 BIO_printf(bio, "%4ld session cache misses\n",
2293 BIO_printf(bio, "%4ld session cache timeouts\n",
2369 BIO_printf(bio_err, "Error setting session id context\n");
2998 BIO_printf(bio_s_out, "Reused session-id\n");
3660 * the server could only possibly create 1 session ID (ie. the
3661 * prefix!) so all future session negotiations will fail due to
3679 * session cache some issues can be debugged using s_server.
3692 static int add_session(SSL *ssl, SSL_SESSION *session)
3694 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session");
3697 SSL_SESSION_get_id(session, &sess->idlen);
3698 sess->derlen = i2d_SSL_SESSION(session, NULL);
3700 BIO_printf(bio_err, "Error encoding session\n");
3705 sess->id = OPENSSL_memdup(SSL_SESSION_get_id(session, NULL), sess->idlen);
3706 sess->der = app_malloc(sess->derlen, "get session buffer");
3717 if (i2d_SSL_SESSION(session, &p) != sess->derlen) {
3718 BIO_printf(bio_err, "Unexpected session encoding length\n");
3727 BIO_printf(bio_err, "New session added to external cache\n");
3739 BIO_printf(bio_err, "Lookup session: cache hit\n");
3743 BIO_printf(bio_err, "Lookup session: cache miss\n");
3747 static void del_session(SSL_CTX *sctx, SSL_SESSION *session)
3752 id = SSL_SESSION_get_id(session, &idlen);