]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
Decode TLS1.3 transport security
authorHannes Reinecke <hare@suse.de>
Tue, 21 Dec 2021 07:55:15 +0000 (08:55 +0100)
committerHannes Reinecke <hare@suse.de>
Tue, 21 Dec 2021 07:55:15 +0000 (08:55 +0100)
Add the definition for TLS1.3 in the transport security attribute
settings (tsas) field.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/fabrics.c

index 9f0b005987aa392ea89a4f71b98b8cfe6c2cf2ec..39b7c6c7ed1332c7b7d4cc5d4b4cd07e890fd2cf 100644 (file)
@@ -116,6 +116,7 @@ const char *nvmf_eflags_str(__u16 eflags)
 static const char * const sectypes[] = {
        [NVMF_TCP_SECTYPE_NONE]         = "none",
        [NVMF_TCP_SECTYPE_TLS]          = "tls",
+       [NVMF_TCP_SECTYPE_TLS13]        = "tls13",
 };
 
 const char *nvmf_sectype_str(__u8 sectype)