diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/man/ssl.3 | 68 |
1 files changed, 11 insertions, 57 deletions
diff --git a/src/lib/libssl/man/ssl.3 b/src/lib/libssl/man/ssl.3 index 004d71f9f2..77a24144fe 100644 --- a/src/lib/libssl/man/ssl.3 +++ b/src/lib/libssl/man/ssl.3 | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | .\" | 1 | .\" |
| 2 | .\" $OpenBSD: ssl.3,v 1.1 2016/11/05 15:32:20 schwarze Exp $ | 2 | .\" $OpenBSD: ssl.3,v 1.2 2016/11/30 16:21:53 schwarze Exp $ |
| 3 | .\" | 3 | .\" |
| 4 | .Dd $Mdocdate: November 5 2016 $ | 4 | .Dd $Mdocdate: November 30 2016 $ |
| 5 | .Dt SSL 3 | 5 | .Dt SSL 3 |
| 6 | .Os | 6 | .Os |
| 7 | .Sh NAME | 7 | .Sh NAME |
| @@ -10,8 +10,7 @@ | |||
| 10 | .Sh DESCRIPTION | 10 | .Sh DESCRIPTION |
| 11 | The OpenSSL | 11 | The OpenSSL |
| 12 | .Nm ssl | 12 | .Nm ssl |
| 13 | library implements the Secure Sockets Layer (SSL v2/v3) and | 13 | library implements the Transport Layer Security (TLS v1) protocols. |
| 14 | Transport Layer Security (TLS v1) protocols. | ||
| 15 | It provides a rich API which is documented here. | 14 | It provides a rich API which is documented here. |
| 16 | .Pp | 15 | .Pp |
| 17 | At first the library must be initialized; see | 16 | At first the library must be initialized; see |
| @@ -55,8 +54,7 @@ library functions deals with the following data structures: | |||
| 55 | .It Vt SSL_METHOD No (SSL Method) | 54 | .It Vt SSL_METHOD No (SSL Method) |
| 56 | That's a dispatch structure describing the internal | 55 | That's a dispatch structure describing the internal |
| 57 | .Nm ssl | 56 | .Nm ssl |
| 58 | library methods/functions which implement the various protocol versions | 57 | library methods/functions which implement the various protocol versions. |
| 59 | (SSLv1, SSLv2 and TLSv1). | ||
| 60 | It's needed to create an | 58 | It's needed to create an |
| 61 | .Vt SSL_CTX . | 59 | .Vt SSL_CTX . |
| 62 | .It Vt SSL_CIPHER No (SSL Cipher) | 60 | .It Vt SSL_CIPHER No (SSL Cipher) |
| @@ -140,65 +138,23 @@ structures. | |||
| 140 | .Bl -tag -width Ds | 138 | .Bl -tag -width Ds |
| 141 | .It Xo | 139 | .It Xo |
| 142 | .Ft const SSL_METHOD * | 140 | .Ft const SSL_METHOD * |
| 143 | .Fn SSLv2_client_method void | 141 | .Fn TLS_client_method void |
| 144 | .Xc | 142 | .Xc |
| 145 | Constructor for the SSLv2 | 143 | Constructor for the |
| 146 | .Vt SSL_METHOD | 144 | .Vt SSL_METHOD |
| 147 | structure for a dedicated client. | 145 | structure for a dedicated client. |
| 148 | .It Xo | 146 | .It Xo |
| 149 | .Ft const SSL_METHOD * | 147 | .Ft const SSL_METHOD * |
| 150 | .Fn SSLv2_server_method void | 148 | .Fn TLS_server_method void |
| 151 | .Xc | 149 | .Xc |
| 152 | Constructor for the SSLv2 | 150 | Constructor for the |
| 153 | .Vt SSL_METHOD | 151 | .Vt SSL_METHOD |
| 154 | structure for a dedicated server. | 152 | structure for a dedicated server. |
| 155 | .It Xo | 153 | .It Xo |
| 156 | .Ft const SSL_METHOD * | 154 | .Ft const SSL_METHOD * |
| 157 | .Fn SSLv2_method void | 155 | .Fn TLS_method void |
| 158 | .Xc | 156 | .Xc |
| 159 | Constructor for the SSLv2 | 157 | Constructor for the |
| 160 | .Vt SSL_METHOD | ||
| 161 | structure for combined client and server. | ||
| 162 | .It Xo | ||
| 163 | .Ft const SSL_METHOD * | ||
| 164 | .Fn SSLv3_client_method void | ||
| 165 | .Xc | ||
| 166 | Constructor for the SSLv3 | ||
| 167 | .Vt SSL_METHOD | ||
| 168 | structure for a dedicated client. | ||
| 169 | .It Xo | ||
| 170 | .Ft const SSL_METHOD * | ||
| 171 | .Fn SSLv3_server_method void | ||
| 172 | .Xc | ||
| 173 | Constructor for the SSLv3 | ||
| 174 | .Vt SSL_METHOD | ||
| 175 | structure for a dedicated server. | ||
| 176 | .It Xo | ||
| 177 | .Ft const SSL_METHOD * | ||
| 178 | .Fn SSLv3_method void | ||
| 179 | .Xc | ||
| 180 | Constructor for the SSLv3 | ||
| 181 | .Vt SSL_METHOD | ||
| 182 | structure for combined client and server. | ||
| 183 | .It Xo | ||
| 184 | .Ft const SSL_METHOD * | ||
| 185 | .Fn TLSv1_client_method void | ||
| 186 | .Xc | ||
| 187 | Constructor for the TLSv1 | ||
| 188 | .Vt SSL_METHOD | ||
| 189 | structure for a dedicated client. | ||
| 190 | .It Xo | ||
| 191 | .Ft const SSL_METHOD * | ||
| 192 | .Fn TLSv1_server_method void | ||
| 193 | .Xc | ||
| 194 | Constructor for the TLSv1 | ||
| 195 | .Vt SSL_METHOD | ||
| 196 | structure for a dedicated server. | ||
| 197 | .It Xo | ||
| 198 | .Ft const SSL_METHOD * | ||
| 199 | .Fn TLSv1_method void | ||
| 200 | .Xc | ||
| 201 | Constructor for the TLSv1 | ||
| 202 | .Vt SSL_METHOD | 158 | .Vt SSL_METHOD |
| 203 | structure for combined client and server. | 159 | structure for combined client and server. |
| 204 | .El | 160 | .El |
| @@ -248,9 +204,7 @@ definitions in the header files. | |||
| 248 | .Fn SSL_CIPHER_get_version "SSL_CIPHER *cipher" | 204 | .Fn SSL_CIPHER_get_version "SSL_CIPHER *cipher" |
| 249 | .Xc | 205 | .Xc |
| 250 | Returns a string like | 206 | Returns a string like |
| 251 | Qq TLSv1/SSLv3 | 207 | Qq TLSv1 |
| 252 | or | ||
| 253 | Qq SSLv2 | ||
| 254 | which indicates the SSL/TLS protocol version to which | 208 | which indicates the SSL/TLS protocol version to which |
| 255 | .Fa cipher | 209 | .Fa cipher |
| 256 | belongs (i.e., where it was defined in the specification the first time). | 210 | belongs (i.e., where it was defined in the specification the first time). |
