Lines Matching refs:SSL
5 SSL_dup, SSL_new, SSL_up_ref - create an SSL structure for a connection
11 SSL *SSL_dup(SSL *s);
12 SSL *SSL_new(SSL_CTX *ctx);
13 int SSL_up_ref(SSL *s);
17 SSL_new() creates a new B<SSL> structure which is needed to hold the
18 data for a TLS/SSL connection. The new structure inherits the settings
20 options, verification settings, timeout settings. An B<SSL> structure is
21 reference counted. Creating an B<SSL> structure for the first time increments
23 reference count drops to zero, any memory or resources allocated to the B<SSL>
27 existing B<SSL> structure.
29 The function SSL_dup() creates and returns a new B<SSL> structure from the same
31 the settings in I<s> into the new B<SSL> object.
34 MUST NOT have yet started the SSL handshake. For connections that are not in
37 use L<SSL_clear(3)> to recycle an SSL handle that is not in its initial
107 The creation of a new SSL structure failed. Check the error stack to
110 =item Pointer to an SSL structure
112 The return value points to an allocated SSL structure.