diff options
author | bentley <> | 2014-10-12 09:33:04 +0000 |
---|---|---|
committer | bentley <> | 2014-10-12 09:33:04 +0000 |
commit | 82b7f378b6907ab315a6e50322d2a0a8794a0aa9 (patch) | |
tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_new.3 | |
parent | 0a63f0cf49369e1926567ab62e04e3355cedf0cd (diff) | |
download | openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.gz openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.bz2 openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.zip |
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet.
ok schwarze@ miod@
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 | ||