Skip to content

Commit 1a4897c

Browse files
committed
MFH: The project calls itself OpenSSL and not openSSL, so let's keep it
that way in our code as well.
1 parent 2d0ab7c commit 1a4897c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/openssl/openssl.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -988,8 +988,8 @@ PHP_MINIT_FUNCTION(openssl)
988988
ERR_load_crypto_strings();
989989
ERR_load_EVP_strings();
990990

991-
/* register a resource id number with openSSL so that we can map SSL -> stream structures in
992-
* openSSL callbacks */
991+
/* register a resource id number with OpenSSL so that we can map SSL -> stream structures in
992+
* OpenSSL callbacks */
993993
ssl_stream_data_index = SSL_get_ex_new_index(0, "PHP stream index", NULL, NULL, NULL);
994994

995995
REGISTER_STRING_CONSTANT("OPENSSL_VERSION_TEXT", OPENSSL_VERSION_TEXT, CONST_CS|CONST_PERSISTENT);

ext/openssl/xp_ssl.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static inline int php_openssl_setup_crypto(php_stream *stream,
330330
break;
331331
case STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
332332
#ifdef OPENSSL_NO_SSL2
333-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not compiled into the openSSL library PHP is linked against");
333+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not compiled into the OpenSSL library PHP is linked against");
334334
return -1;
335335
#else
336336
sslsock->is_client = 1;
@@ -355,7 +355,7 @@ static inline int php_openssl_setup_crypto(php_stream *stream,
355355
break;
356356
case STREAM_CRYPTO_METHOD_SSLv2_SERVER:
357357
#ifdef OPENSSL_NO_SSL2
358-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not compiled into the openSSL library PHP is linked against");
358+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not compiled into the OpenSSL library PHP is linked against");
359359
return -1;
360360
#else
361361
sslsock->is_client = 0;
@@ -923,7 +923,7 @@ php_stream *php_openssl_ssl_socket_factory(const char *proto, long protolen,
923923
sslsock->method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT;
924924
} else if (strncmp(proto, "sslv2", protolen) == 0) {
925925
#ifdef OPENSSL_NO_SSL2
926-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not compiled into the openSSL library PHP is linked against");
926+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSLv2 support is not compiled into the OpenSSL library PHP is linked against");
927927
return NULL;
928928
#else
929929
sslsock->enable_on_connect = 1;

0 commit comments

Comments
 (0)