Skip to content

Commit 38d02db

Browse files
committed
Merge branch 'PHP-5.6'
* PHP-5.6: fix linkage More openssl UPGRADING updates Fix build against older OpenSSL libs Update NEWS/UPGRADING with openssl additions
2 parents a27db7d + 5b6ef90 commit 38d02db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/openssl/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ inline static int php_openssl_open_base_dir_chk(char *filename TSRMLS_DC)
585585
}
586586
/* }}} */
587587

588-
inline php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl)
588+
php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl)
589589
{
590590
return (php_stream*)SSL_get_ex_data(ssl, ssl_stream_data_index);
591591
}

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
int php_openssl_apply_verification_policy(SSL *ssl, X509 *peer, php_stream *stream TSRMLS_DC);
5353
SSL *php_SSL_new_from_context(SSL_CTX *ctx, php_stream *stream TSRMLS_DC);
54-
php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl);
54+
extern php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl);
5555
int php_openssl_get_x509_list_id(void);
5656

5757
php_stream_ops php_openssl_socket_ops;

0 commit comments

Comments
 (0)