summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2025-06-24 13:27:28 +0000
committertb <>2025-06-24 13:27:28 +0000
commitf9050a65a4be5f1c1c32875fc3c4f32263423859 (patch)
treee3b1e99f27008d9fc472faaaa473f2b8faa32dc0 /src
parent445abfa5d4ba2968b291d0bacceb79dd3e35bad0 (diff)
downloadopenbsd-f9050a65a4be5f1c1c32875fc3c4f32263423859.tar.gz
openbsd-f9050a65a4be5f1c1c32875fc3c4f32263423859.tar.bz2
openbsd-f9050a65a4be5f1c1c32875fc3c4f32263423859.zip
sort process_tls_opt[]
requested by jsing
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/nc/netcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c
index baf36bb60b..566c63bf31 100644
--- a/src/usr.bin/nc/netcat.c
+++ b/src/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: netcat.c,v 1.232 2025/05/21 08:46:42 djm Exp $ */ 1/* $OpenBSD: netcat.c,v 1.233 2025/06/24 13:27:28 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> 3 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
4 * Copyright (c) 2015 Bob Beck. All rights reserved. 4 * Copyright (c) 2015 Bob Beck. All rights reserved.
@@ -1674,8 +1674,8 @@ process_tls_opt(char *s, int *flags)
1674 { "ciphers", -1, &tls_ciphers }, 1674 { "ciphers", -1, &tls_ciphers },
1675 { "clientcert", TLS_CCERT, NULL }, 1675 { "clientcert", TLS_CCERT, NULL },
1676 { "muststaple", TLS_MUSTSTAPLE, NULL }, 1676 { "muststaple", TLS_MUSTSTAPLE, NULL },
1677 { "noverify", TLS_NOVERIFY, NULL },
1678 { "noname", TLS_NONAME, NULL }, 1677 { "noname", TLS_NONAME, NULL },
1678 { "noverify", TLS_NOVERIFY, NULL },
1679 { "protocols", -1, &tls_protocols }, 1679 { "protocols", -1, &tls_protocols },
1680 { NULL, -1, NULL }, 1680 { NULL, -1, NULL },
1681 }; 1681 };