summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorbeck <>2017-01-26 07:20:57 +0000
committerbeck <>2017-01-26 07:20:57 +0000
commit4da4912184d7585c1156f7bf674490329e917635 (patch)
tree7084b69c15aff2f1f2fea63626df9a5f51b4cb83 /src/lib/libssl/ssl.h
parent658d10735b253d1c476eedc1f621c0865c0baa52 (diff)
downloadopenbsd-4da4912184d7585c1156f7bf674490329e917635.tar.gz
openbsd-4da4912184d7585c1156f7bf674490329e917635.tar.bz2
openbsd-4da4912184d7585c1156f7bf674490329e917635.zip
Limit the number of sequential empty records that we will process
before yielding, and fail if we exceed a maximum. loosely based on what boring and openssl are doing ok jsing@
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 05669aea8e..2122fea936 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.124 2017/01/26 00:29:04 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.125 2017/01/26 07:20:57 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2064,6 +2064,7 @@ void ERR_load_SSL_strings(void);
2064#define SSL_R_WRONG_VERSION_NUMBER 267 2064#define SSL_R_WRONG_VERSION_NUMBER 267
2065#define SSL_R_X509_LIB 268 2065#define SSL_R_X509_LIB 268
2066#define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269 2066#define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269
2067#define SSL_R_PEER_BEHAVING_BADLY 666
2067 2068
2068#ifdef __cplusplus 2069#ifdef __cplusplus
2069} 2070}