diff options
Diffstat (limited to 'src/lib/libssl/doc/SSL_new.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_new.3 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_new.3 b/src/lib/libssl/doc/SSL_new.3 new file mode 100644 index 0000000000..3c5b303bbb --- /dev/null +++ b/src/lib/libssl/doc/SSL_new.3 | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | .Dd $Mdocdate: October 12 2014 $ | ||
| 2 | .Dt SSL_NEW 3 | ||
| 3 | .Os | ||
| 4 | .Sh NAME | ||
| 5 | .Nm SSL_new | ||
| 6 | .Nd create a new SSL structure for a connection | ||
| 7 | .Sh SYNOPSIS | ||
| 8 | .In openssl/ssl.h | ||
| 9 | .Ft SSL * | ||
| 10 | .Fn SSL_new "SSL_CTX *ctx" | ||
| 11 | .Sh DESCRIPTION | ||
| 12 | .Fn SSL_new | ||
| 13 | creates a new | ||
| 14 | .Vt SSL | ||
| 15 | structure which is needed to hold the data for a TLS/SSL connection. | ||
| 16 | The new structure inherits the settings of the underlying context | ||
| 17 | .Fa ctx : | ||
| 18 | connection method (SSLv2/v3/TLSv1), options, verification settings, | ||
| 19 | timeout settings. | ||
| 20 | .Sh RETURN VALUES | ||
| 21 | The following return values can occur: | ||
| 22 | .Bl -tag -width Ds | ||
| 23 | .It Dv NULL | ||
| 24 | The creation of a new | ||
| 25 | .Vt SSL | ||
| 26 | structure failed. | ||
| 27 | Check the error stack to find out the reason. | ||
| 28 | .It Pointer to an Vt SSL No structure | ||
| 29 | The return value points to an allocated | ||
| 30 | .Vt SSL | ||
| 31 | structure. | ||
| 32 | .El | ||
| 33 | .Sh SEE ALSO | ||
| 34 | .Xr ssl 3 , | ||
| 35 | .Xr SSL_clear 3 , | ||
| 36 | .Xr SSL_CTX_set_options 3 , | ||
| 37 | .Xr SSL_free 3 , | ||
| 38 | .Xr SSL_get_SSL_CTX 3 | ||
