diff options
author | 2020-06-05 17:58:32 +0000 | |
---|---|---|
committer | 2020-06-05 17:58:32 +0000 | |
commit | a431b81095a0bbedf91060612e0faa5d2c0cca10 (patch) | |
tree | 6fa16ddb2876ade10cb3621a0c755652a8b0465b /lib/libssl/s3_lib.c | |
parent | Handle GOST in ssl_cert_dup(). (diff) | |
download | wireguard-openbsd-a431b81095a0bbedf91060612e0faa5d2c0cca10.tar.xz wireguard-openbsd-a431b81095a0bbedf91060612e0faa5d2c0cca10.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 'lib/libssl/s3_lib.c')
-rw-r--r-- | lib/libssl/s3_lib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index afc798bedc8..f98ec3e0986 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.193 2020/05/10 14:17:47 jsing Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.194 2020/06/05 17:58:32 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2547,8 +2547,6 @@ ssl3_get_req_cert_types(SSL *s, CBB *cbb) #ifndef OPENSSL_NO_GOST if ((alg_k & SSL_kGOST) != 0) { - if (!CBB_add_u8(cbb, TLS_CT_GOST94_SIGN)) - return 0; if (!CBB_add_u8(cbb, TLS_CT_GOST01_SIGN)) return 0; if (!CBB_add_u8(cbb, TLS_CT_GOST12_256_SIGN)) |