summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls1.h
diff options
context:
space:
mode:
authorbeck <>2024-02-03 15:58:34 +0000
committerbeck <>2024-02-03 15:58:34 +0000
commitfeaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3 (patch)
treedc1f0834366a35df8a6de61e2722798629d7c4c2 /src/lib/libssl/tls1.h
parenta931b9fe4c471545a30c6975c303fa27abc695af (diff)
downloadopenbsd-feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3.tar.gz
openbsd-feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3.tar.bz2
openbsd-feaf10d0a7eb5e59e69c058b10c91c45d2b1b0e3.zip
Remove GOST and STREEBOG support from libssl.
This version of GOST is old and not anywhere close to compliant with modern GOST standards. It is also very intrusive in libssl and makes a mess everywhere. Efforts to entice a suitably minded anyone to care about it have been unsuccessful. At this point it is probably best to remove this, and if someone ever showed up who truly needed a working version, it should be a clean implementation from scratch, and have it use something closer to the typical API in libcrypto so it would integrate less painfully here. This removes it from libssl in preparation for it's removal from libcrypto with a future major bump ok tb@
Diffstat (limited to 'src/lib/libssl/tls1.h')
-rw-r--r--src/lib/libssl/tls1.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h
index 2bdbd3c184..daf6cba6fa 100644
--- a/src/lib/libssl/tls1.h
+++ b/src/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls1.h,v 1.56 2022/07/17 14:39:09 jsing Exp $ */ 1/* $OpenBSD: tls1.h,v 1.57 2024/02/03 15:58:34 beck 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 *
@@ -741,18 +741,12 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
741#define TLS_CT_DSS_SIGN 2 741#define TLS_CT_DSS_SIGN 2
742#define TLS_CT_RSA_FIXED_DH 3 742#define TLS_CT_RSA_FIXED_DH 3
743#define TLS_CT_DSS_FIXED_DH 4 743#define TLS_CT_DSS_FIXED_DH 4
744#define TLS_CT_GOST94_SIGN 21
745#define TLS_CT_GOST01_SIGN 22
746#define TLS_CT_ECDSA_SIGN 64 744#define TLS_CT_ECDSA_SIGN 64
747#define TLS_CT_RSA_FIXED_ECDH 65 745#define TLS_CT_RSA_FIXED_ECDH 65
748#define TLS_CT_ECDSA_FIXED_ECDH 66 746#define TLS_CT_ECDSA_FIXED_ECDH 66
749#define TLS_CT_GOST12_256_SIGN 67
750#define TLS_CT_GOST12_512_SIGN 68
751#define TLS_CT_GOST12_256_SIGN_COMPAT 238 /* pre-IANA, for compat */
752#define TLS_CT_GOST12_512_SIGN_COMPAT 239 /* pre-IANA, for compat */
753/* when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see 747/* when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see
754 * comment there) */ 748 * comment there) */
755#define TLS_CT_NUMBER 13 749#define TLS_CT_NUMBER 7
756 750
757#define TLS1_FINISH_MAC_LENGTH 12 751#define TLS1_FINISH_MAC_LENGTH 12
758 752