summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl3.h
diff options
context:
space:
mode:
authorjsing <>2018-10-24 18:04:50 +0000
committerjsing <>2018-10-24 18:04:50 +0000
commitd7e0aa4b59fc46f038370bf8dc64821eb4a7d804 (patch)
treece8dad95e6021ab405b0ec175b26682e47bea424 /src/lib/libssl/ssl3.h
parentc988048231bcb1d2abd6613e83760d63c461a080 (diff)
downloadopenbsd-d7e0aa4b59fc46f038370bf8dc64821eb4a7d804.tar.gz
openbsd-d7e0aa4b59fc46f038370bf8dc64821eb4a7d804.tar.bz2
openbsd-d7e0aa4b59fc46f038370bf8dc64821eb4a7d804.zip
Make more of libssl's record layer state internal.
In January 2017, we changed large amounts of libssl's data structures to be non-visible/internal, however intentionally left things that the software ecosystem was needing to use. The four or so applications that reached into libssl for record layer related state now implement alternative code. As such, make these data structures internal. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl3.h')
-rw-r--r--src/lib/libssl/ssl3.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h
index f8833fa1bb..726fb9db0b 100644
--- a/src/lib/libssl/ssl3.h
+++ b/src/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl3.h,v 1.47 2018/04/07 16:55:13 jsing Exp $ */ 1/* $OpenBSD: ssl3.h,v 1.48 2018/10/24 18:04:50 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 *
@@ -363,18 +363,6 @@ typedef struct ssl3_state_st {
363 unsigned char server_random[SSL3_RANDOM_SIZE]; 363 unsigned char server_random[SSL3_RANDOM_SIZE];
364 unsigned char client_random[SSL3_RANDOM_SIZE]; 364 unsigned char client_random[SSL3_RANDOM_SIZE];
365 365
366 SSL3_BUFFER rbuf; /* read IO goes into here */
367 SSL3_BUFFER wbuf; /* write IO goes into here */
368
369 /* we allow one fatal and one warning alert to be outstanding,
370 * send close alert via the warning alert */
371 int alert_dispatch;
372 unsigned char send_alert[2];
373
374 struct {
375 int new_mac_secret_size;
376 } tmp;
377
378 struct ssl3_state_internal_st *internal; 366 struct ssl3_state_internal_st *internal;
379} SSL3_STATE; 367} SSL3_STATE;
380 368