diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/X509_STORE_set1_param.3 | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_set1_param.3 b/src/lib/libcrypto/man/X509_STORE_set1_param.3 index 5905043466..0bfba16050 100644 --- a/src/lib/libcrypto/man/X509_STORE_set1_param.3 +++ b/src/lib/libcrypto/man/X509_STORE_set1_param.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: X509_STORE_set1_param.3,v 1.6 2018/02/25 22:52:48 schwarze Exp $ | 1 | .\" $OpenBSD: X509_STORE_set1_param.3,v 1.7 2018/03/20 16:12:01 schwarze Exp $ |
| 2 | .\" content checked up to: | 2 | .\" content checked up to: |
| 3 | .\" OpenSSL man3/X509_STORE_get0_param e90fc053 Jul 15 09:39:45 2017 -0400 | 3 | .\" OpenSSL man3/X509_STORE_get0_param e90fc053 Jul 15 09:39:45 2017 -0400 |
| 4 | .\" | 4 | .\" |
| @@ -16,7 +16,7 @@ | |||
| 16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 18 | .\" | 18 | .\" |
| 19 | .Dd $Mdocdate: February 25 2018 $ | 19 | .Dd $Mdocdate: March 20 2018 $ |
| 20 | .Dt X509_STORE_SET1_PARAM 3 | 20 | .Dt X509_STORE_SET1_PARAM 3 |
| 21 | .Os | 21 | .Os |
| 22 | .Sh NAME | 22 | .Sh NAME |
| @@ -28,6 +28,7 @@ | |||
| 28 | .Nm X509_STORE_add_cert , | 28 | .Nm X509_STORE_add_cert , |
| 29 | .Nm X509_STORE_add_crl , | 29 | .Nm X509_STORE_add_crl , |
| 30 | .Nm X509_STORE_get0_objects , | 30 | .Nm X509_STORE_get0_objects , |
| 31 | .Nm X509_STORE_get_ex_new_index , | ||
| 31 | .Nm X509_STORE_set_ex_data , | 32 | .Nm X509_STORE_set_ex_data , |
| 32 | .Nm X509_STORE_get_ex_data | 33 | .Nm X509_STORE_get_ex_data |
| 33 | .Nd get and set X509_STORE data | 34 | .Nd get and set X509_STORE data |
| @@ -73,6 +74,14 @@ | |||
| 73 | .Fa "X509_STORE *store" | 74 | .Fa "X509_STORE *store" |
| 74 | .Fc | 75 | .Fc |
| 75 | .Ft int | 76 | .Ft int |
| 77 | .Fo X509_STORE_get_ex_new_index | ||
| 78 | .Fa "long argl" | ||
| 79 | .Fa "void *argp" | ||
| 80 | .Fa "CRYPTO_EX_new *new_func" | ||
| 81 | .Fa "CRYPTO_EX_dup *dup_func" | ||
| 82 | .Fa "CRYPTO_EX_free *free_func" | ||
| 83 | .Fc | ||
| 84 | .Ft int | ||
| 76 | .Fo X509_STORE_set_ex_data | 85 | .Fo X509_STORE_set_ex_data |
| 77 | .Fa "X509_STORE *store" | 86 | .Fa "X509_STORE *store" |
| 78 | .Fa "int idx" | 87 | .Fa "int idx" |
| @@ -115,14 +124,16 @@ to the | |||
| 115 | .Fa store , | 124 | .Fa store , |
| 116 | increasing its reference count by 1 in case of success. | 125 | increasing its reference count by 1 in case of success. |
| 117 | .Pp | 126 | .Pp |
| 118 | .Fn X509_STORE_set_ex_data | 127 | .Fn X509_STORE_get_ex_new_index , |
| 128 | .Fn X509_STORE_set_ex_data , | ||
| 119 | and | 129 | and |
| 120 | .Fn X509_STORE_get_ex_data | 130 | .Fn X509_STORE_get_ex_data |
| 121 | handle application specific data in | 131 | handle application specific data in |
| 122 | .Vt X509_STORE | 132 | .Vt X509_STORE |
| 123 | objects. | 133 | objects. |
| 124 | Their usage is identical to that of | 134 | Their usage is identical to that of |
| 125 | .Xr RSA_set_ex_data 3 | 135 | .Xr RSA_get_ex_new_index 3 , |
| 136 | .Xr RSA_set_ex_data 3 , | ||
| 126 | and | 137 | and |
| 127 | .Xr RSA_get_ex_data 3 . | 138 | .Xr RSA_get_ex_data 3 . |
| 128 | .Sh RETURN VALUES | 139 | .Sh RETURN VALUES |
| @@ -162,6 +173,9 @@ and private keys contained in the | |||
| 162 | .Fa store . | 173 | .Fa store . |
| 163 | The returned pointer must not be freed by the calling application. | 174 | The returned pointer must not be freed by the calling application. |
| 164 | .Pp | 175 | .Pp |
| 176 | .Fn X509_STORE_get_ex_new_index | ||
| 177 | returns a new index or \-1 on failure. | ||
| 178 | .Pp | ||
| 165 | .Fn X509_STORE_get_ex_data | 179 | .Fn X509_STORE_get_ex_data |
| 166 | returns the application data or | 180 | returns the application data or |
| 167 | .Dv NULL | 181 | .Dv NULL |
