diff options
author | millert <> | 2015-12-30 18:45:02 +0000 |
---|---|---|
committer | millert <> | 2015-12-30 18:45:02 +0000 |
commit | 3c78bc879ca4a6912fae9f0dcf0053c399e44a69 (patch) | |
tree | c687383e5039bda47b476281947cfccb221bf13a | |
parent | 801ec15252914cb5260c7a9380df0610aa88bd66 (diff) | |
download | openbsd-3c78bc879ca4a6912fae9f0dcf0053c399e44a69.tar.gz openbsd-3c78bc879ca4a6912fae9f0dcf0053c399e44a69.tar.bz2 openbsd-3c78bc879ca4a6912fae9f0dcf0053c399e44a69.zip |
Document that the ssl free() functions are NULL safe. OK mmcc@
-rw-r--r-- | src/lib/libssl/doc/SSL_CTX_free.3 | 9 | ||||
-rw-r--r-- | src/lib/libssl/doc/SSL_SESSION_free.3 | 9 | ||||
-rw-r--r-- | src/lib/libssl/doc/SSL_free.3 | 9 | ||||
-rw-r--r-- | src/lib/libssl/src/doc/ssl/SSL_CTX_free.3 | 9 | ||||
-rw-r--r-- | src/lib/libssl/src/doc/ssl/SSL_SESSION_free.3 | 9 | ||||
-rw-r--r-- | src/lib/libssl/src/doc/ssl/SSL_free.3 | 9 |
6 files changed, 42 insertions, 12 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_free.3 b/src/lib/libssl/doc/SSL_CTX_free.3 index 0b2f7a8247..84f5eb57ee 100644 --- a/src/lib/libssl/doc/SSL_CTX_free.3 +++ b/src/lib/libssl/doc/SSL_CTX_free.3 | |||
@@ -1,7 +1,7 @@ | |||
1 | .\" | 1 | .\" |
2 | .\" $OpenBSD: SSL_CTX_free.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | 2 | .\" $OpenBSD: SSL_CTX_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ |
3 | .\" | 3 | .\" |
4 | .Dd $Mdocdate: December 2 2014 $ | 4 | .Dd $Mdocdate: December 30 2015 $ |
5 | .Dt SSL_CTX_FREE 3 | 5 | .Dt SSL_CTX_FREE 3 |
6 | .Os | 6 | .Os |
7 | .Sh NAME | 7 | .Sh NAME |
@@ -20,6 +20,11 @@ and removes the | |||
20 | object pointed to by | 20 | object pointed to by |
21 | .Fa ctx | 21 | .Fa ctx |
22 | and frees up the allocated memory if the reference count has reached 0. | 22 | and frees up the allocated memory if the reference count has reached 0. |
23 | If | ||
24 | .Fa ctx | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
23 | .Pp | 28 | .Pp |
24 | It also calls the | 29 | It also calls the |
25 | .Xr free 3 Ns ing | 30 | .Xr free 3 Ns ing |
diff --git a/src/lib/libssl/doc/SSL_SESSION_free.3 b/src/lib/libssl/doc/SSL_SESSION_free.3 index ffd5ae2b29..69491f714b 100644 --- a/src/lib/libssl/doc/SSL_SESSION_free.3 +++ b/src/lib/libssl/doc/SSL_SESSION_free.3 | |||
@@ -1,7 +1,7 @@ | |||
1 | .\" | 1 | .\" |
2 | .\" $OpenBSD: SSL_SESSION_free.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | 2 | .\" $OpenBSD: SSL_SESSION_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ |
3 | .\" | 3 | .\" |
4 | .Dd $Mdocdate: December 2 2014 $ | 4 | .Dd $Mdocdate: December 30 2015 $ |
5 | .Dt SSL_SESSION_FREE 3 | 5 | .Dt SSL_SESSION_FREE 3 |
6 | .Os | 6 | .Os |
7 | .Sh NAME | 7 | .Sh NAME |
@@ -20,6 +20,11 @@ and removes the | |||
20 | structure pointed to by | 20 | structure pointed to by |
21 | .Fa session | 21 | .Fa session |
22 | and frees up the allocated memory, if the reference count has reached 0. | 22 | and frees up the allocated memory, if the reference count has reached 0. |
23 | If | ||
24 | .Fa session | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
23 | .Sh NOTES | 28 | .Sh NOTES |
24 | .Vt SSL_SESSION | 29 | .Vt SSL_SESSION |
25 | objects are allocated when a TLS/SSL handshake operation is successfully | 30 | objects are allocated when a TLS/SSL handshake operation is successfully |
diff --git a/src/lib/libssl/doc/SSL_free.3 b/src/lib/libssl/doc/SSL_free.3 index c0078d817a..1a3711e6c7 100644 --- a/src/lib/libssl/doc/SSL_free.3 +++ b/src/lib/libssl/doc/SSL_free.3 | |||
@@ -1,7 +1,7 @@ | |||
1 | .\" | 1 | .\" |
2 | .\" $OpenBSD: SSL_free.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | 2 | .\" $OpenBSD: SSL_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ |
3 | .\" | 3 | .\" |
4 | .Dd $Mdocdate: December 2 2014 $ | 4 | .Dd $Mdocdate: December 30 2015 $ |
5 | .Dt SSL_FREE 3 | 5 | .Dt SSL_FREE 3 |
6 | .Os | 6 | .Os |
7 | .Sh NAME | 7 | .Sh NAME |
@@ -20,6 +20,11 @@ and removes the | |||
20 | structure pointed to by | 20 | structure pointed to by |
21 | .Fa ssl | 21 | .Fa ssl |
22 | and frees up the allocated memory if the reference count has reached 0. | 22 | and frees up the allocated memory if the reference count has reached 0. |
23 | If | ||
24 | .Fa ssl | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
23 | .Sh NOTES | 28 | .Sh NOTES |
24 | .Fn SSL_free | 29 | .Fn SSL_free |
25 | also calls the | 30 | also calls the |
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_free.3 b/src/lib/libssl/src/doc/ssl/SSL_CTX_free.3 index 0b2f7a8247..84f5eb57ee 100644 --- a/src/lib/libssl/src/doc/ssl/SSL_CTX_free.3 +++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_free.3 | |||
@@ -1,7 +1,7 @@ | |||
1 | .\" | 1 | .\" |
2 | .\" $OpenBSD: SSL_CTX_free.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | 2 | .\" $OpenBSD: SSL_CTX_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ |
3 | .\" | 3 | .\" |
4 | .Dd $Mdocdate: December 2 2014 $ | 4 | .Dd $Mdocdate: December 30 2015 $ |
5 | .Dt SSL_CTX_FREE 3 | 5 | .Dt SSL_CTX_FREE 3 |
6 | .Os | 6 | .Os |
7 | .Sh NAME | 7 | .Sh NAME |
@@ -20,6 +20,11 @@ and removes the | |||
20 | object pointed to by | 20 | object pointed to by |
21 | .Fa ctx | 21 | .Fa ctx |
22 | and frees up the allocated memory if the reference count has reached 0. | 22 | and frees up the allocated memory if the reference count has reached 0. |
23 | If | ||
24 | .Fa ctx | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
23 | .Pp | 28 | .Pp |
24 | It also calls the | 29 | It also calls the |
25 | .Xr free 3 Ns ing | 30 | .Xr free 3 Ns ing |
diff --git a/src/lib/libssl/src/doc/ssl/SSL_SESSION_free.3 b/src/lib/libssl/src/doc/ssl/SSL_SESSION_free.3 index ffd5ae2b29..69491f714b 100644 --- a/src/lib/libssl/src/doc/ssl/SSL_SESSION_free.3 +++ b/src/lib/libssl/src/doc/ssl/SSL_SESSION_free.3 | |||
@@ -1,7 +1,7 @@ | |||
1 | .\" | 1 | .\" |
2 | .\" $OpenBSD: SSL_SESSION_free.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | 2 | .\" $OpenBSD: SSL_SESSION_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ |
3 | .\" | 3 | .\" |
4 | .Dd $Mdocdate: December 2 2014 $ | 4 | .Dd $Mdocdate: December 30 2015 $ |
5 | .Dt SSL_SESSION_FREE 3 | 5 | .Dt SSL_SESSION_FREE 3 |
6 | .Os | 6 | .Os |
7 | .Sh NAME | 7 | .Sh NAME |
@@ -20,6 +20,11 @@ and removes the | |||
20 | structure pointed to by | 20 | structure pointed to by |
21 | .Fa session | 21 | .Fa session |
22 | and frees up the allocated memory, if the reference count has reached 0. | 22 | and frees up the allocated memory, if the reference count has reached 0. |
23 | If | ||
24 | .Fa session | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
23 | .Sh NOTES | 28 | .Sh NOTES |
24 | .Vt SSL_SESSION | 29 | .Vt SSL_SESSION |
25 | objects are allocated when a TLS/SSL handshake operation is successfully | 30 | objects are allocated when a TLS/SSL handshake operation is successfully |
diff --git a/src/lib/libssl/src/doc/ssl/SSL_free.3 b/src/lib/libssl/src/doc/ssl/SSL_free.3 index c0078d817a..1a3711e6c7 100644 --- a/src/lib/libssl/src/doc/ssl/SSL_free.3 +++ b/src/lib/libssl/src/doc/ssl/SSL_free.3 | |||
@@ -1,7 +1,7 @@ | |||
1 | .\" | 1 | .\" |
2 | .\" $OpenBSD: SSL_free.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | 2 | .\" $OpenBSD: SSL_free.3,v 1.3 2015/12/30 18:45:02 millert Exp $ |
3 | .\" | 3 | .\" |
4 | .Dd $Mdocdate: December 2 2014 $ | 4 | .Dd $Mdocdate: December 30 2015 $ |
5 | .Dt SSL_FREE 3 | 5 | .Dt SSL_FREE 3 |
6 | .Os | 6 | .Os |
7 | .Sh NAME | 7 | .Sh NAME |
@@ -20,6 +20,11 @@ and removes the | |||
20 | structure pointed to by | 20 | structure pointed to by |
21 | .Fa ssl | 21 | .Fa ssl |
22 | and frees up the allocated memory if the reference count has reached 0. | 22 | and frees up the allocated memory if the reference count has reached 0. |
23 | If | ||
24 | .Fa ssl | ||
25 | is a | ||
26 | .Dv NULL | ||
27 | pointer, no action occurs. | ||
23 | .Sh NOTES | 28 | .Sh NOTES |
24 | .Fn SSL_free | 29 | .Fn SSL_free |
25 | also calls the | 30 | also calls the |