diff options
author | codarrenvelvindron <codarren@cyberstorm.mu> | 2018-12-05 08:23:34 +0400 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2019-04-28 17:37:43 +0100 |
commit | 5c05f5e6d3d31a03c152fe90697bdc3e33193ced (patch) | |
tree | 7587873fa636ec0edae8af35e4a6e0794cd73f65 /main | |
parent | 807901072d6e09406b592976ea44e9aac2148d51 (diff) | |
download | php-git-5c05f5e6d3d31a03c152fe90697bdc3e33193ced.tar.gz |
Added tls 1.3 support for PHP
Diffstat (limited to 'main')
-rw-r--r-- | main/streams/php_stream_transport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h index a73966ec33..d626e088cf 100644 --- a/main/streams/php_stream_transport.h +++ b/main/streams/php_stream_transport.h @@ -171,6 +171,7 @@ typedef enum { STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT = (1 << 3 | 1), STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT = (1 << 4 | 1), STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT = (1 << 5 | 1), + STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT = (1 << 6 | 1), /* TLS equates to TLS_ANY as of PHP 7.2 */ STREAM_CRYPTO_METHOD_TLS_CLIENT = ((1 << 3) | (1 << 4) | (1 << 5) | 1), STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT = ((1 << 3) | (1 << 4) | (1 << 5) | 1), @@ -182,6 +183,7 @@ typedef enum { STREAM_CRYPTO_METHOD_TLSv1_0_SERVER = (1 << 3), STREAM_CRYPTO_METHOD_TLSv1_1_SERVER = (1 << 4), STREAM_CRYPTO_METHOD_TLSv1_2_SERVER = (1 << 5), + STREAM_CRYPTO_METHOD_TLSv1_3_SERVER = (1 << 6), /* TLS equates to TLS_ANY as of PHP 7.2 */ STREAM_CRYPTO_METHOD_TLS_SERVER = ((1 << 3) | (1 << 4) | (1 << 5)), STREAM_CRYPTO_METHOD_TLS_ANY_SERVER = ((1 << 3) | (1 << 4) | (1 << 5)), |