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" },
1877 "warning: id_prefix is too long, only one new session will be possible\n");
1981 "warning: id_prefix is too long, only one new session will be possible\n");
2142 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf);
2149 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf);
2163 BIO_printf(bio_err, "error setting session id context\n");
2181 BIO_printf(bio_err, "error setting session id context\n");
2281 BIO_printf(bio, "%4ld items in the session cache\n",
2295 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx));
2296 BIO_printf(bio, "%4ld session cache misses\n",
2298 BIO_printf(bio, "%4ld session cache timeouts\n",
2374 BIO_printf(bio_err, "Error setting session id context\n");
3003 BIO_printf(bio_s_out, "Reused session-id\n");
3665 * the server could only possibly create 1 session ID (ie. the
3666 * prefix!) so all future session negotiations will fail due to
3684 * session cache some issues can be debugged using s_server.
3697 static int add_session(SSL *ssl, SSL_SESSION *session)
3699 simple_ssl_session *sess = app_malloc(sizeof(*sess), "get session");
3702 SSL_SESSION_get_id(session, &sess->idlen);
3703 sess->derlen = i2d_SSL_SESSION(session, NULL);
3705 BIO_printf(bio_err, "Error encoding session\n");
3710 sess->id = OPENSSL_memdup(SSL_SESSION_get_id(session, NULL), sess->idlen);
3711 sess->der = app_malloc(sess->derlen, "get session buffer");
3722 if (i2d_SSL_SESSION(session, &p) != sess->derlen) {
3723 BIO_printf(bio_err, "Unexpected session encoding length\n");
3732 BIO_printf(bio_err, "New session added to external cache\n");
3744 BIO_printf(bio_err, "Lookup session: cache hit\n");
3748 BIO_printf(bio_err, "Lookup session: cache miss\n");
3752 static void del_session(SSL_CTX *sctx, SSL_SESSION *session)
3757 id = SSL_SESSION_get_id(session, &idlen);