summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-05-28 17:34:32 +0000
committerjsing <>2019-05-28 17:34:32 +0000
commit35418daf72459e257c8c1fa30b78d21cb06ddd8e (patch)
tree62f66239942bcc7cb8e1734d148b275dfed9a36b
parent190f375342fe35816611a439d14321f5eea5f45c (diff)
downloadopenbsd-35418daf72459e257c8c1fa30b78d21cb06ddd8e.tar.gz
openbsd-35418daf72459e257c8c1fa30b78d21cb06ddd8e.tar.bz2
openbsd-35418daf72459e257c8c1fa30b78d21cb06ddd8e.zip
Fix typo and label indent.
-rw-r--r--src/lib/libssl/ssl_tlsext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c
index 8e9f734bf5..b532d49a63 100644
--- a/src/lib/libssl/ssl_tlsext.c
+++ b/src/lib/libssl/ssl_tlsext.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_tlsext.c,v 1.46 2019/05/28 17:16:42 jsing Exp $ */ 1/* $OpenBSD: ssl_tlsext.c,v 1.47 2019/05/28 17:34:32 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -1460,7 +1460,7 @@ tlsext_versions_server_parse(SSL *s, CBS *cbs, int *alert)
1460 } 1460 }
1461 1461
1462 /* 1462 /*
1463 * XXX if we haven't mached a version we should 1463 * XXX if we haven't matched a version we should
1464 * fail - but we currently need to succeed to 1464 * fail - but we currently need to succeed to
1465 * ignore this before the server code for 1.3 1465 * ignore this before the server code for 1.3
1466 * is set up and initialized. 1466 * is set up and initialized.
@@ -1476,7 +1476,7 @@ tlsext_versions_server_parse(SSL *s, CBS *cbs, int *alert)
1476 *alert = SSL_AD_PROTOCOL_VERSION; 1476 *alert = SSL_AD_PROTOCOL_VERSION;
1477 return 0; 1477 return 0;
1478 1478
1479err: 1479 err:
1480 *alert = SSL_AD_DECODE_ERROR; 1480 *alert = SSL_AD_DECODE_ERROR;
1481 return 0; 1481 return 0;
1482} 1482}