diff options
author | jsing <> | 2017-01-23 01:04:23 +0000 |
---|---|---|
committer | jsing <> | 2017-01-23 01:04:23 +0000 |
commit | a52552c2ca63345dc67023aa087ad6048779e0d3 (patch) | |
tree | 0e604a82c5273425d32273f079c43f62bdd7686b | |
parent | ebf810ecb3df5037cf52818180e9d1f9b811019d (diff) | |
download | openbsd-a52552c2ca63345dc67023aa087ad6048779e0d3.tar.gz openbsd-a52552c2ca63345dc67023aa087ad6048779e0d3.tar.bz2 openbsd-a52552c2ca63345dc67023aa087ad6048779e0d3.zip |
Remove heartbeat related fields from the SSL_CTX, which are unused
(thankfully).
-rw-r--r-- | src/lib/libssl/ssl.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 9f9343e69d..5904872c92 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.107 2017/01/23 00:12:54 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.108 2017/01/23 01:04:23 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 | * |
@@ -1136,14 +1136,6 @@ struct ssl_st { | |||
1136 | STACK_OF(SRTP_PROTECTION_PROFILE) *srtp_profiles; /* What we'll do */ | 1136 | STACK_OF(SRTP_PROTECTION_PROFILE) *srtp_profiles; /* What we'll do */ |
1137 | SRTP_PROTECTION_PROFILE *srtp_profile; /* What's been chosen */ | 1137 | SRTP_PROTECTION_PROFILE *srtp_profile; /* What's been chosen */ |
1138 | 1138 | ||
1139 | unsigned int tlsext_heartbeat; /* Is use of the Heartbeat extension negotiated? | ||
1140 | 0: disabled | ||
1141 | 1: enabled | ||
1142 | 2: enabled, but not allowed to send Requests | ||
1143 | */ | ||
1144 | unsigned int tlsext_hb_pending; /* Indicates if a HeartbeatRequest is in flight */ | ||
1145 | unsigned int tlsext_hb_seq; /* HeartbeatRequest sequence number */ | ||
1146 | |||
1147 | int renegotiate;/* 1 if we are renegotiating. | 1139 | int renegotiate;/* 1 if we are renegotiating. |
1148 | * 2 if we are a server and are inside a handshake | 1140 | * 2 if we are a server and are inside a handshake |
1149 | * (i.e. not just sending a HelloRequest) */ | 1141 | * (i.e. not just sending a HelloRequest) */ |