summaryrefslogtreecommitdiff
path: root/ext/openssl/php_openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/php_openssl.h')
-rw-r--r--ext/openssl/php_openssl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/openssl/php_openssl.h b/ext/openssl/php_openssl.h
index 36b8bbbeb9..92e01241f4 100644
--- a/ext/openssl/php_openssl.h
+++ b/ext/openssl/php_openssl.h
@@ -1,6 +1,6 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
@@ -26,6 +26,9 @@
extern zend_module_entry openssl_module_entry;
#define phpext_openssl_ptr &openssl_module_entry
+#include "php_version.h"
+#define PHP_OPENSSL_VERSION PHP_VERSION
+
#define OPENSSL_RAW_DATA 1
#define OPENSSL_ZERO_PADDING 2