Skip to content

Commit

Permalink
Fix really old openssl version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timlegge committed Oct 15, 2023
1 parent 85fa71a commit 8fe238e
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 8fe238e

Please sign in to comment.