diff options
author | jsing <> | 2019-01-21 06:58:44 +0000 |
---|---|---|
committer | jsing <> | 2019-01-21 06:58:44 +0000 |
commit | 549758b49616a2ed2f8e76f1ec804a664cab843e (patch) | |
tree | 3ab3f3f45daa0fe0d9fd6647639796883adedaef /src/lib/libssl/ssl_locl.h | |
parent | ee45b5205b24ef754b5fddbb35818a8cf22dbe51 (diff) | |
download | openbsd-549758b49616a2ed2f8e76f1ec804a664cab843e.tar.gz openbsd-549758b49616a2ed2f8e76f1ec804a664cab843e.tar.bz2 openbsd-549758b49616a2ed2f8e76f1ec804a664cab843e.zip |
Move struct tls13_ctx into a header since other things need access to it.
While here, rename struct handshake to struct handshake_stage to avoid
potential ambiguity/conflict with the handshake data struct. Also add
forward and back pointers between SSL and struct tls13_ctx.
ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 1653b2ab96..30c1afd22d 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.226 2019/01/18 12:09:52 beck Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.227 2019/01/21 06:58:44 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 | * |
@@ -609,6 +609,8 @@ typedef struct ssl_ctx_internal_st { | |||
609 | } SSL_CTX_INTERNAL; | 609 | } SSL_CTX_INTERNAL; |
610 | 610 | ||
611 | typedef struct ssl_internal_st { | 611 | typedef struct ssl_internal_st { |
612 | struct tls13_ctx *tls13; | ||
613 | |||
612 | uint16_t min_version; | 614 | uint16_t min_version; |
613 | uint16_t max_version; | 615 | uint16_t max_version; |
614 | 616 | ||