Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ssl_session_reused(3) [opendarwin man page]

SSL_session_reused(3)						      OpenSSL						     SSL_session_reused(3)

NAME
SSL_session_reused - query whether a reused session was negotiated during handshake SYNOPSIS
#include <openssl/ssl.h> int SSL_session_reused(SSL *ssl); DESCRIPTION
Query, whether a reused session was negotiated during the handshake. NOTES
During the negotiation, a client can propose to reuse a session. The server then looks up the session in its cache. If both client and server agree on the session, it will be reused and a flag is being set that can be queried by the application. RETURN VALUES
The following return values can occur: 0 A new session was negotiated. 1 A session was reused. SEE ALSO
ssl(3), SSL_set_session(3), SSL_CTX_set_session_cache_mode(3) 0.9.7d 2002-12-01 SSL_session_reused(3)

Check Out this Related Man Page

SSL_set_session(3)						      OpenSSL							SSL_set_session(3)

NAME
SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect SYNOPSIS
#include <openssl/ssl.h> int SSL_set_session(SSL *ssl, SSL_SESSION *session); DESCRIPTION
SSL_set_session() sets session to be used when the TLS/SSL connection is to be established. SSL_set_session() is only useful for TLS/SSL clients. When the session is set, the reference count of session is incremented by 1. If the session is not reused, the reference count is decremented again during SSL_connect(). Whether the session was reused can be queried with the SSL_session_reused(3) call. If there is already a session set inside ssl (because it was set with SSL_set_session() before or because the same ssl was already used for a connection), SSL_SESSION_free() will be called for that session. NOTES
SSL_SESSION objects keep internal link information about the session cache list, when being inserted into one SSL_CTX object's session cache. One SSL_SESSION object, regardless of its reference count, must therefore only be used with one SSL_CTX object (and the SSL objects created from this SSL_CTX object). RETURN VALUES
The following return values can occur: 0 The operation failed; check the error stack to find out the reason. 1 The operation succeeded. SEE ALSO
ssl(3), SSL_SESSION_free(3), SSL_get_session(3), SSL_session_reused(3), SSL_CTX_set_session_cache_mode(3) 1.0.1e 2014-06-17 SSL_set_session(3)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: “␀␀Word FinderÂŽ Plus™”. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word FinderÂŽ Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies