summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_new.3
diff options
context:
space:
mode:
authorbentley <>2014-10-12 09:33:04 +0000
committerbentley <>2014-10-12 09:33:04 +0000
commit82b7f378b6907ab315a6e50322d2a0a8794a0aa9 (patch)
treea5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_new.3
parent0a63f0cf49369e1926567ab62e04e3355cedf0cd (diff)
downloadopenbsd-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.338
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
13creates a new
14.Vt SSL
15structure which is needed to hold the data for a TLS/SSL connection.
16The new structure inherits the settings of the underlying context
17.Fa ctx :
18connection method (SSLv2/v3/TLSv1), options, verification settings,
19timeout settings.
20.Sh RETURN VALUES
21The following return values can occur:
22.Bl -tag -width Ds
23.It Dv NULL
24The creation of a new
25.Vt SSL
26structure failed.
27Check the error stack to find out the reason.
28.It Pointer to an Vt SSL No structure
29The return value points to an allocated
30.Vt SSL
31structure.
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