diff -ruN php-7.1.33-orig/ext/openssl/openssl.c php-7.1.33/ext/openssl/openssl.c --- php-7.1.33-orig/ext/openssl/openssl.c 2019-10-23 00:59:46.000000000 +0800 +++ php-7.1.33/ext/openssl/openssl.c 2022-03-09 21:40:54.706399031 +0800 @@ -1471,7 +1471,9 @@ REGISTER_LONG_CONSTANT("PKCS7_NOSIGS", PKCS7_NOSIGS, CONST_CS|CONST_PERSISTENT); REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_PADDING", RSA_PKCS1_PADDING, CONST_CS|CONST_PERSISTENT); +#ifdef RSA_SSLV23_PADDING REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT); +#endif REGISTER_LONG_CONSTANT("OPENSSL_NO_PADDING", RSA_NO_PADDING, CONST_CS|CONST_PERSISTENT); REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_OAEP_PADDING", RSA_PKCS1_OAEP_PADDING, CONST_CS|CONST_PERSISTENT);