Skip to content

Commit

Permalink
Merge pull request #1 from perl-openssl/openssl
Browse files Browse the repository at this point in the history
Fix really old openssl version issue
  • Loading branch information
timlegge committed Oct 13, 2023
2 parents 85fa71a + 467f2ff commit c6a73f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PKCS10.xs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

#include "ppport.h"

#if OPENSSL_VERSION_NUMBER < 0x10000000L
#define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
#endif
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined LIBRESSL_VERSION_NUMBER
#define EVP_PKEY_get0_RSA(pkey) ((pkey)->pkey.rsa)
#define EVP_PKEY_get0_DSA(pkey) ((pkey)->pkey.dsa)
Expand Down

0 comments on commit c6a73f3

Please sign in to comment.