How to set the different parameters of X509_STORE_CTX structure.
Jan Just Keijser
janjust at nikhef.nl
Thu May 27 12:51:30 UTC 2021
Hi,
On 26/05/21 10:15, Kumar Mishra, Sanjeev wrote:
> Hi,
>
> I am upgrading the code of OpenSSL 1.0 to 3.0. I am not getting some
> API for setting some parameter of X509_STORE_CTX structure as it is
> opaque in 3.0. For example the code is like -
>
> X509_STORE_CTX *ctx;
> ........
> ........
>
> ctx->current_issuer = NULL;
> ctx->current_crl_score = 0;
> ctx->current_reasons = 0;
> ........
> ........
>
this changed with openssl 1.1.1 already; do
man X509_STORE_CTX_init
which sets all of the above.
HTH,
JJK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210527/b4337a4c/attachment.html>
More information about the openssl-users
mailing list