[#SSL_dup] = SSL_dup :mrdocs: Duplicate an SSL object that is still in its initial (pre‐handshake) state. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:SSL.adoc[SSL]* SSL_dup(xref:SSL.adoc[SSL]* ssl); ---- == Return Value New SSL with a subset of `ssl's` settings copied, the same handle if already active, or NULL on error / QUIC. == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | SSL connection to copy; must not have started the handshake (else refcount is bumped instead). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#