diff options
author | jsing <> | 2024-07-15 14:45:15 +0000 |
---|---|---|
committer | jsing <> | 2024-07-15 14:45:15 +0000 |
commit | cc7031b63a6f84ab84ffe44284b3c9c68500be07 (patch) | |
tree | 5d2e625a962e99823de07ae569d7a4439bfc9c3a /src/lib/libssl/ssl_local.h | |
parent | ce786f8f377f8c77e8b0986312286af97c5145bf (diff) | |
download | openbsd-cc7031b63a6f84ab84ffe44284b3c9c68500be07.tar.gz openbsd-cc7031b63a6f84ab84ffe44284b3c9c68500be07.tar.bz2 openbsd-cc7031b63a6f84ab84ffe44284b3c9c68500be07.zip |
Mop up TLS1_PRF* defines.
These have not been used for a long time, however SSL_CIPHER was not opaque
at the time, hence they had to stick around. Now that SSL_CIPHER is opaque
we can simply mop them up.
ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_local.h')
-rw-r--r-- | src/lib/libssl/ssl_local.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h index db102212a8..74c6ad33ee 100644 --- a/src/lib/libssl/ssl_local.h +++ b/src/lib/libssl/ssl_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_local.h,v 1.17 2024/06/25 14:10:45 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_local.h,v 1.18 2024/07/15 14:45:15 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 | * |
@@ -255,15 +255,6 @@ __BEGIN_HIDDEN_DECLS | |||
255 | #define SSL3_CK_ID 0x03000000 | 255 | #define SSL3_CK_ID 0x03000000 |
256 | #define SSL3_CK_VALUE_MASK 0x0000ffff | 256 | #define SSL3_CK_VALUE_MASK 0x0000ffff |
257 | 257 | ||
258 | #define TLS1_PRF_DGST_MASK (0xff << TLS1_PRF_DGST_SHIFT) | ||
259 | |||
260 | #define TLS1_PRF_DGST_SHIFT 10 | ||
261 | #define TLS1_PRF_MD5 (SSL_HANDSHAKE_MAC_MD5 << TLS1_PRF_DGST_SHIFT) | ||
262 | #define TLS1_PRF_SHA1 (SSL_HANDSHAKE_MAC_SHA << TLS1_PRF_DGST_SHIFT) | ||
263 | #define TLS1_PRF_SHA256 (SSL_HANDSHAKE_MAC_SHA256 << TLS1_PRF_DGST_SHIFT) | ||
264 | #define TLS1_PRF_SHA384 (SSL_HANDSHAKE_MAC_SHA384 << TLS1_PRF_DGST_SHIFT) | ||
265 | #define TLS1_PRF (TLS1_PRF_MD5 | TLS1_PRF_SHA1) | ||
266 | |||
267 | /* | 258 | /* |
268 | * Cipher strength information. | 259 | * Cipher strength information. |
269 | */ | 260 | */ |