curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unable to compile curlx.c with OpenSSL 1.1.0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Dec 2017 08:39:13 +0100 (CET)

On Wed, 13 Dec 2017, Krishnaraj wrote:

> Unfortuantly I could not find any wrapper
> function to retrieve the cert from X509_STORE_CTX.

How about this? [*]

X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);

[*] =
https://www.openssl.org/docs/man1.1.0/crypto/X509_STORE_CTX_get_error.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-12-13