GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_DUP(3) FreeBSD Library Functions Manual SSL_DUP(3)

SSL_dupdeep copy of an SSL object

#include <openssl/ssl.h>

SSL *
SSL_dup(SSL *ssl);

() constructs a new SSL object in the same context as ssl and copies much of the contained data from ssl to the new SSL object, but many fields, for example tlsext data, are not copied.

As an exception from deep copying, if a session is already established, the new object shares ssl->cert with the original object.

SSL_dup() returns the new SSL object or NULL on failure.

ssl(3), SSL_clear(3), SSL_copy_session_id(3), SSL_free(3), SSL_new(3), SSL_set_security_level(3)

SSL_dup() first appeared in SSLeay 0.8.0 and has been available since OpenBSD 2.4.

July 13, 2022 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.