Re: get data from X509_EXTENSION in openSSL 1.1.1.

2020-07-10 Thread Viktor Dukhovni
On Fri, Jul 10, 2020 at 05:25:03PM +0530, prudvi raj wrote: > we are upgrading our codebase to 1.1.1 from 1.0.2k.Here's a code snippet > causing error : > > ext = X509_get_ext(X509, n); > data = ext->value->data; Given: X509_EXTENSION *ext; you can obtain /* ext->object */

Re: get data from X509_EXTENSION in openSSL 1.1.1.

2020-07-10 Thread Kenneth Goldman
> From: prudvi raj > To: openssl-users@openssl.org > Date: 07/10/2020 07:55 AM > Subject: [EXTERNAL] get data from X509_EXTENSION in openSSL 1.1.1. > Sent by: "openssl-users" > > Hi All, > > we are upgrading our codebase to 1.1.1 from 1.0.2k.Here's a co

get data from X509_EXTENSION in openSSL 1.1.1.

2020-07-10 Thread prudvi raj
Hi All, we are upgrading our codebase to 1.1.1 from 1.0.2k.Here's a code snippet causing error : ext = X509_get_ext(X509, n); data = ext->value->data; How do i get the data value from X509_EXTENSION object. since forward declarations are not allowed (compiler error) & i couldn't find a