diff options
Diffstat (limited to 'lib/libcrypto/man/X509_STORE_set1_param.3')
-rw-r--r-- | lib/libcrypto/man/X509_STORE_set1_param.3 | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/lib/libcrypto/man/X509_STORE_set1_param.3 b/lib/libcrypto/man/X509_STORE_set1_param.3 index 59050434668..0bfba160502 100644 --- a/lib/libcrypto/man/X509_STORE_set1_param.3 +++ b/lib/libcrypto/man/X509_STORE_set1_param.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_STORE_set1_param.3,v 1.6 2018/02/25 22:52:48 schwarze Exp $ +.\" $OpenBSD: X509_STORE_set1_param.3,v 1.7 2018/03/20 16:12:01 schwarze Exp $ .\" content checked up to: .\" OpenSSL man3/X509_STORE_get0_param e90fc053 Jul 15 09:39:45 2017 -0400 .\" @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 25 2018 $ +.Dd $Mdocdate: March 20 2018 $ .Dt X509_STORE_SET1_PARAM 3 .Os .Sh NAME @@ -28,6 +28,7 @@ .Nm X509_STORE_add_cert , .Nm X509_STORE_add_crl , .Nm X509_STORE_get0_objects , +.Nm X509_STORE_get_ex_new_index , .Nm X509_STORE_set_ex_data , .Nm X509_STORE_get_ex_data .Nd get and set X509_STORE data @@ -73,6 +74,14 @@ .Fa "X509_STORE *store" .Fc .Ft int +.Fo X509_STORE_get_ex_new_index +.Fa "long argl" +.Fa "void *argp" +.Fa "CRYPTO_EX_new *new_func" +.Fa "CRYPTO_EX_dup *dup_func" +.Fa "CRYPTO_EX_free *free_func" +.Fc +.Ft int .Fo X509_STORE_set_ex_data .Fa "X509_STORE *store" .Fa "int idx" @@ -115,14 +124,16 @@ to the .Fa store , increasing its reference count by 1 in case of success. .Pp -.Fn X509_STORE_set_ex_data +.Fn X509_STORE_get_ex_new_index , +.Fn X509_STORE_set_ex_data , and .Fn X509_STORE_get_ex_data handle application specific data in .Vt X509_STORE objects. Their usage is identical to that of -.Xr RSA_set_ex_data 3 +.Xr RSA_get_ex_new_index 3 , +.Xr RSA_set_ex_data 3 , and .Xr RSA_get_ex_data 3 . .Sh RETURN VALUES @@ -162,6 +173,9 @@ and private keys contained in the .Fa store . The returned pointer must not be freed by the calling application. .Pp +.Fn X509_STORE_get_ex_new_index +returns a new index or \-1 on failure. +.Pp .Fn X509_STORE_get_ex_data returns the application data or .Dv NULL |