Skip to content

Commit

Permalink
Fix build failure caused by deprecated API macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gh0u1L5 committed Oct 16, 2019
1 parent ec83793 commit b41fab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvfs/vfs_img4.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ verify_signature_rsa(const DERItem *pkey, const DERItem *digest, const DERItem *
rsa = RSA_new();
assert(rsa);

#ifdef OPENSSL_API_1_1_0
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
rv = RSA_set0_key(rsa, BN_bin2bn(pkeyComponents[0].data, pkeyComponents[0].length, NULL), BN_bin2bn(pkeyComponents[1].data, pkeyComponents[1].length, NULL), NULL);
assert(rv == 1);
#else
Expand Down

0 comments on commit b41fab2

Please sign in to comment.