Add getters / setters for the X509_STORE_CTX and X509_STORE functions
authorRichard Levitte <levitte@openssl.org>
Thu, 7 Jul 2016 21:22:45 +0000 (23:22 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 25 Jul 2016 15:20:58 +0000 (17:20 +0200)
commit1060a50b6d70cf801e08c6b97835397d1c222af9
treed0e9fd39c25f02b8888fc67605f509652ec1cb11
parentd49cfa3bd57ffba060f08e4088441fa392c2f9a8
Add getters / setters for the X509_STORE_CTX and X509_STORE functions

We only add setters for X509_STORE function pointers except for the
verify callback function.  The thought is that the function pointers
in X509_STORE_CTX are a cache for the X509_STORE functions.
Therefore, it's preferable if the user makes the changes in X509_STORE
before X509_STORE_CTX_init is called, and otherwise use the verify
callback to override any results from OpenSSL's internal
calculations.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/x509/x509_lu.c
crypto/x509/x509_vfy.c
include/openssl/x509_vfy.h
util/libcrypto.num