summaryrefslogtreecommitdiff
path: root/ext/openssl/php_openssl.h
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2016-03-03 19:43:29 +0000
committerJakub Zelenka <bukka@php.net>2016-07-17 17:33:42 +0100
commitf1de72293e4c55683bc52d40fa69d4abe08ad272 (patch)
treedc97d35b3407bc5ea821eec7ae8d2666aa4a2f5d /ext/openssl/php_openssl.h
parent0598a8da2bc005b3a0be2801033b5347020f8316 (diff)
downloadphp-git-f1de72293e4c55683bc52d40fa69d4abe08ad272.tar.gz
Use opaque EVP_PKEY in php_openssl_is_private_key
Diffstat (limited to 'ext/openssl/php_openssl.h')
-rw-r--r--ext/openssl/php_openssl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/openssl/php_openssl.h b/ext/openssl/php_openssl.h
index 9407e50d23..48d82b7952 100644
--- a/ext/openssl/php_openssl.h
+++ b/ext/openssl/php_openssl.h
@@ -134,6 +134,9 @@ PHP_FUNCTION(openssl_get_cert_locations);
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#define EVP_PKEY_get0_RSA(_pkey) _pkey->pkey.rsa
+#define EVP_PKEY_get0_DSA(_pkey) _pkey->pkey.dsa
+#define EVP_PKEY_get0_DH(_pkey) _pkey->pkey.dh
+#define EVP_PKEY_get0_EC_KEY(_pkey) _pkey->pkey.ec
#endif
#endif