summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-01-22 10:36:58 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-01-22 10:36:58 +0000
commit63b02ee7b42639b31f24547edde1c92729965908 (patch)
treed10289785c29893b859d1f97ee8cb4bd0c88bcfc /lib
parentcd683764750fb8a2bf060a25cf128b7e62f6603e (diff)
fix previous: alert_desc needs to be an int.
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_tlsext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_tlsext.c b/lib/libssl/ssl_tlsext.c
index d45dd508631..c1d7ba14f27 100644
--- a/lib/libssl/ssl_tlsext.c
+++ b/lib/libssl/ssl_tlsext.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_tlsext.c,v 1.52 2020/01/22 10:28:49 tb Exp $ */
+/* $OpenBSD: ssl_tlsext.c,v 1.53 2020/01/22 10:36:57 tb Exp $ */
/*
* Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -1936,7 +1936,7 @@ tlsext_parse(SSL *s, CBS *cbs, int *alert, int is_server, uint16_t msg_type)
uint16_t type;
size_t idx;
uint16_t version;
- uint8_t alert_desc;
+ int alert_desc;
S3I(s)->hs.extensions_seen = 0;