Add getters for X509_STORE and X509_OBJECT members
authorChristian Heimes <cheimes@redhat.com>
Tue, 19 Apr 2016 19:11:30 +0000 (21:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 28 Apr 2016 18:02:27 +0000 (20:02 +0200)
commitf0c58c3212d4796ea25d9baaea992bc5137fde34
tree6e6231fdbf9f111311539be50306a99204ffce90
parentd5553b4cb5da81c157040fb9d1bedeeed0cf4703
Add getters for X509_STORE and X509_OBJECT members

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>
crypto/x509/x509_lu.c
doc/crypto/X509_STORE_get0_param.pod [new file with mode: 0644]
doc/crypto/X509_STORE_new.pod
include/openssl/x509_vfy.h
util/libcrypto.num