diff options
author | Jakub Zelenka <bukka@php.net> | 2016-02-29 20:07:03 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2016-07-17 17:33:42 +0100 |
commit | 84a291d4dac1a666dd961f68f87554ab37824c7e (patch) | |
tree | f96b450a0f76d8820458f043fdf88f12155cd2cd /ext/openssl/php_openssl.h | |
parent | fd9142a64744958997f7c9611ef6277c57172933 (diff) | |
download | php-git-84a291d4dac1a666dd961f68f87554ab37824c7e.tar.gz |
Wrap pkey id and rsa getters
Diffstat (limited to 'ext/openssl/php_openssl.h')
-rw-r--r-- | ext/openssl/php_openssl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/openssl/php_openssl.h b/ext/openssl/php_openssl.h index 03f8953985..9407e50d23 100644 --- a/ext/openssl/php_openssl.h +++ b/ext/openssl/php_openssl.h @@ -132,6 +132,10 @@ PHP_FUNCTION(openssl_get_cert_locations); #endif +#if OPENSSL_VERSION_NUMBER < 0x10100000L +#define EVP_PKEY_get0_RSA(_pkey) _pkey->pkey.rsa +#endif + #endif /* |