Refactor + reorganize openssl files

Programming / Compilers / PHP - Daniel Lowrey [php.net] - 5 March 2014 11:03 UTC

- All streams-related code now lives in xp_ssl.c. Previously stream code was split across both openssl.c and xp_ssl.c- Folded superfluous php_openssl_structs.h into xp_ssl.c- Server-specific options now set on SSL_CTX instead of SSL- Deprecate SNI_server_name ctx option- Miscellaneous refactoring

27849c9 Refactor + reorganize openssl files
ext/openssl/openssl.c | 699 +-----------
ext/openssl/php_openssl.h | 12 +-
ext/openssl/php_openssl_structs.h | 51 -
ext/openssl/tests/bug65538_002.phpt | 2 -
ext/openssl/tests/capture_peer_cert_001.phpt | 2 +-
ext/openssl/tests/sni_001.phpt | 8 +-
ext/openssl/tests/tlsv1.0_wrapper.phpt | 8 +-
ext/openssl/tests/tlsv1.1_wrapper.phpt | 8 +-
ext/openssl/tests/tlsv1.2_wrapper.phpt | 8 +-
ext/openssl/xp_ssl.c | 1563 ++++++++++++++++++--------
10 files changed, 1159 insertions(+), 1202 deletions(-)

Upstream: github.com


  • Share