We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840f27d commit 73b2c91Copy full SHA for 73b2c91
ext/openssl/openssl.c
@@ -1384,7 +1384,7 @@ PHP_FUNCTION(openssl_get_cert_locations)
1384
}
1385
/* }}} */
1386
1387
-static X509 *php_openssl_x509_from_str(zend_string *cert_str) {
+X509 *php_openssl_x509_from_str(zend_string *cert_str) {
1388
X509 *cert = NULL;
1389
BIO *in = NULL;
1390
ext/openssl/php_openssl.h
@@ -110,6 +110,7 @@ PHP_OPENSSL_API zend_string* php_openssl_decrypt(
110
const char *aad, size_t aad_len);
111
PHP_OPENSSL_API EVP_PKEY *php_openssl_pkey_from_zval(zval *val, int public_key,
112
char *passphrase, size_t passphrase_len);
113
+PHP_OPENSSL_API X509 *php_openssl_x509_from_str(zend_string *cert_str);
114
115
/* OpenSSLCertificate class */
116
0 commit comments