summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-04-07 05:54:33 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-04-06 23:04:57 -0700
commit853734dfe799e70d44a9ce357198d3a3260c1be7 (patch)
tree45ab07a9ce222a20e688fe0353c8ee400ce72d2d /include
parent85a51d01fa7712ff42a6fcb432c2821fe9583459 (diff)
downloadrabbitmq-c-853734dfe799e70d44a9ce357198d3a3260c1be7.tar.gz
Add TLSv1.3 support and set min-version to TLSv1.2
Add support for TLSv1.3, and set the default supported versions to be TLSv1.2 and TLSv1.3. TLSv1.0 and TLSv1.1 both have security flaws that make them unsuitable as a default. If these versions are required, they can be explictly set by users to use these older versions. Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'include')
-rw-r--r--include/rabbitmq-c/ssl_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rabbitmq-c/ssl_socket.h b/include/rabbitmq-c/ssl_socket.h
index a85897b..2ae81f6 100644
--- a/include/rabbitmq-c/ssl_socket.h
+++ b/include/rabbitmq-c/ssl_socket.h
@@ -200,6 +200,7 @@ typedef enum {
AMQP_TLSv1 = 1,
AMQP_TLSv1_1 = 2,
AMQP_TLSv1_2 = 3,
+ AMQP_TLSv1_3 = 4,
AMQP_TLSvLATEST = 0xFFFF
} amqp_tls_version_t;