Thanks a lot, Matt and Viktor! You guys are absolutely right,
X509_get0_pubkey_bitstr gives me the same struct that was once inside of
cert_info->key->public_key.
@Viktor I had also tried your second approach (didn't know about the first
one!) and for some reason it doesn't have the "correct" data
On Mon, Jun 03, 2019 at 10:40:02AM -0500, Daniel Pedraza wrote:
> There's a part of the code where we're doing a sha256 hash of the public
> key of our certificate. On the older OpenSSL, we were able to get the
> public key by doing cert->cert_info->key->public_key->data. On the newer
> version, w
On 03/06/2019 16:40, Daniel Pedraza wrote:
> Hi guys!
>
> I'm trying to upgrade an old C project from OpenSSL 1.0.2 to the newest 1.1.1
> version. Everything's going smoothly, except for one little detail:
>
> There's a part of the code where we're doing a sha256 hash of the public key
> of
>
Hi guys!
I'm trying to upgrade an old C project from OpenSSL 1.0.2 to the newest
1.1.1 version. Everything's going smoothly, except for one little detail:
There's a part of the code where we're doing a sha256 hash of the public
key of our certificate. On the older OpenSSL, we were able to get the