diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2019-02-25 19:40:06 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2019-02-25 19:40:06 +0000 |
commit | df689522a97f07f630f762b1c614795c862f1021 (patch) | |
tree | 684df66b16b8fb0bc0c9f610b844e22c89005648 /lib/libssl/tls13_internal.h | |
parent | c870cfc8a8776ffee1123ec88ff166a19991543f (diff) |
revert "Move struct ssl_handshake_tls13_st definition", i.e., move
SSL_HANDSHAKE_TLS13 back to ssl_locl.h.
discussed with jsing and inoguchi
Diffstat (limited to 'lib/libssl/tls13_internal.h')
-rw-r--r-- | lib/libssl/tls13_internal.h | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h index b3b510c690e..aa28ee7e878 100644 --- a/lib/libssl/tls13_internal.h +++ b/lib/libssl/tls13_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_internal.h,v 1.22 2019/02/25 16:46:17 jsing Exp $ */ +/* $OpenBSD: tls13_internal.h,v 1.23 2019/02/25 19:40:05 tb Exp $ */ /* * Copyright (c) 2018 Bob Beck <beck@openbsd.org> * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> @@ -149,28 +149,7 @@ struct tls13_handshake_stage { uint8_t message_number; }; -typedef struct ssl_handshake_tls13_st { - uint16_t min_version; - uint16_t max_version; - uint16_t version; - - /* Version proposed by peer server. */ - uint16_t server_version; - - /* X25519 key share. */ - uint8_t *x25519_public; - uint8_t *x25519_private; - uint8_t *x25519_peer_public; - - struct tls13_secrets *secrets; - - uint8_t *cookie; - size_t cookie_len; - - /* Preserved transcript hash. */ - uint8_t transcript_hash[EVP_MAX_MD_SIZE]; - size_t transcript_hash_len; -} SSL_HANDSHAKE_TLS13; +typedef struct ssl_handshake_tls13_st SSL_HANDSHAKE_TLS13; struct tls13_ctx { SSL *ssl; |