summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <>2020-06-05 17:58:32 +0000
committerjsing <>2020-06-05 17:58:32 +0000
commit6f7c659c8c3b6cefd82aad9d304cacd352bfe81a (patch)
tree2ea4ba7ab41c9f1ed7fa31657e362fe29cf86a3d /src/lib/libssl/s3_lib.c
parent6de5c86b987ad585e00961d8d0a4a86cd52b9768 (diff)
downloadopenbsd-6f7c659c8c3b6cefd82aad9d304cacd352bfe81a.tar.gz
openbsd-6f7c659c8c3b6cefd82aad9d304cacd352bfe81a.tar.bz2
openbsd-6f7c659c8c3b6cefd82aad9d304cacd352bfe81a.zip
Stop sending GOST R 34.10-94 as a CertificateType.
GOST R 34.10-94 is an obsolete certificate type, unsupported by LibreSSL and by the rest of current software, so there is no point in sending in the CertificateTypes. Diff from Dmitry Baryshkov <dbaryshkov@gmail.com> Sponsored by ROSA Linux ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r--src/lib/libssl/s3_lib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index afc798bedc..f98ec3e098 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.193 2020/05/10 14:17:47 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.194 2020/06/05 17:58:32 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 *
@@ -2547,8 +2547,6 @@ ssl3_get_req_cert_types(SSL *s, CBB *cbb)
2547 2547
2548#ifndef OPENSSL_NO_GOST 2548#ifndef OPENSSL_NO_GOST
2549 if ((alg_k & SSL_kGOST) != 0) { 2549 if ((alg_k & SSL_kGOST) != 0) {
2550 if (!CBB_add_u8(cbb, TLS_CT_GOST94_SIGN))
2551 return 0;
2552 if (!CBB_add_u8(cbb, TLS_CT_GOST01_SIGN)) 2550 if (!CBB_add_u8(cbb, TLS_CT_GOST01_SIGN))
2553 return 0; 2551 return 0;
2554 if (!CBB_add_u8(cbb, TLS_CT_GOST12_256_SIGN)) 2552 if (!CBB_add_u8(cbb, TLS_CT_GOST12_256_SIGN))