Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SSL_COPY_SESSION_ID(3)	 BSD Library Functions Manual	SSL_COPY_SESSION_ID(3)

NAME
     SSL_copy_session_id -- copy session details between SSL objects

SYNOPSIS
     #include <openssl/ssl.h>

     void
     SSL_copy_session_id(SSL *to, const	SSL *from);

DESCRIPTION
     SSL_copy_session_id() copies the following	data from from to to:

     -	 the pointer to	the SSL_SESSION	object,	incrementing its reference
	 count by 1

     -	 the pointer to	the SSL_METHOD object; if that changes the method,
	 protocol-specific data	is reinitialized

     -	 the pointer to	the CERT object, incrementing its reference count by 1

     -	 the session ID	context

     This function is used internally by SSL_dup(3) and	by
     BIO_ssl_copy_session_id(3).

SEE ALSO
     BIO_ssl_copy_session_id(3), SSL_dup(3), SSL_get_session(3),
     SSL_set_session(3), SSL_set_session_id_context(3)

HISTORY
     SSL_copy_session_id() is available	in all versions	of OpenSSL.

BUGS
     Failures of SSL_set_session(3), SSL_set_session_id_context(3),
     CRYPTO_add(3), and	reinitialization of protocol-specific data are
     silently ignored and may leave to in an invalid or	inconsistent state.
     An	improved version reporting failure is available	in OpenSSL 1.1.0.

BSD			       December	7, 2016				   BSD

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | HISTORY | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SSL_copy_session_id&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help