summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index f6e922e99c..d2a99afaa4 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.201 2017/10/12 16:06:32 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.202 2018/01/27 15:30:05 jsing 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 *
@@ -164,6 +164,9 @@
164 164
165__BEGIN_HIDDEN_DECLS 165__BEGIN_HIDDEN_DECLS
166 166
167#define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \
168 __attribute__((__unused__))
169
167#define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ 170#define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
168 *((c)++)=(unsigned char)(((l)>>16)&0xff), \ 171 *((c)++)=(unsigned char)(((l)>>16)&0xff), \
169 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 172 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
@@ -1275,8 +1278,6 @@ uint16_t tls1_ec_nid2curve_id(const int nid);
1275int tls1_check_curve(SSL *s, const uint16_t curve_id); 1278int tls1_check_curve(SSL *s, const uint16_t curve_id);
1276int tls1_get_shared_curve(SSL *s); 1279int tls1_get_shared_curve(SSL *s);
1277 1280
1278int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **data,
1279 unsigned char *d, int n, int *al);
1280int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **data, 1281int ssl_parse_serverhello_tlsext(SSL *s, unsigned char **data,
1281 size_t n, int *al); 1282 size_t n, int *al);
1282int ssl_check_clienthello_tlsext_early(SSL *s); 1283int ssl_check_clienthello_tlsext_early(SSL *s);