mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
f0c58c3212
OpenSSL 1.1.0-pre5 has made some additional structs opaque. Python's ssl module requires access to some of the struct members. Three new getters are added: int X509_OBJECT_get_type(X509_OBJECT *a); STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(X509_STORE *v); X509_VERIFY_PARAM *X509_STORE_get0_param(X509_STORE *ctx); Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
42 lines
875 B
Plaintext
42 lines
875 B
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
X509_STORE_new, X509_STORE_up_ref, X509_STORE_free - X509_STORE allocation and freeing functions
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
#include <openssl/x509_vfy.h>
|
|
|
|
X509_STORE *X509_STORE_new(void);
|
|
void X509_STORE_free(X509_STORE *v);
|
|
int X509_STORE_up_ref(X509_STORE *v);
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The X509_STORE_new() function returns a new X509_STORE.
|
|
|
|
X509_STORE_up_ref() increments the reference count associated with the
|
|
X509_STORE object.
|
|
|
|
X509_STORE_free() frees up a single X509_STORE object.
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
X509_STORE_new() returns a newly created X509_STORE or NULL if the call fails.
|
|
|
|
X509_STORE_up_ref() returns 1 for success and 0 for failure.
|
|
|
|
X509_STORE_free() does not return values.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<X509_STORE_set_verify_cb_func(3)>
|
|
L<X509_STORE_get0_param(3)>
|
|
|
|
=head1 HISTORY
|
|
|
|
The B<X509_STORE_up_ref> function was added in OpenSSL 1.1.0
|
|
|
|
=cut
|