summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2022-01-09 15:29:42 +0000
committerjsing <>2022-01-09 15:29:42 +0000
commitdb6d5503661a90e98e23aacef2cfe54efc99f1e0 (patch)
treeba770140bc960151768491a43709904406a986e2
parent99a74d01dd8887de0c54a62e77d50a9f7ef35224 (diff)
downloadopenbsd-db6d5503661a90e98e23aacef2cfe54efc99f1e0.tar.gz
openbsd-db6d5503661a90e98e23aacef2cfe54efc99f1e0.tar.bz2
openbsd-db6d5503661a90e98e23aacef2cfe54efc99f1e0.zip
Remove a comment from Captain Obvious.
-rw-r--r--src/lib/libssl/ssl_clnt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c
index 1d1918b956..d0910c8f73 100644
--- a/src/lib/libssl/ssl_clnt.c
+++ b/src/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_clnt.c,v 1.129 2022/01/09 13:17:33 jsing Exp $ */ 1/* $OpenBSD: ssl_clnt.c,v 1.130 2022/01/09 15:29:42 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 *
@@ -2014,10 +2014,8 @@ ssl3_send_client_kex_gost(SSL *s, CBB *cbb)
2014 2014
2015 /* Check if pubkey from client certificate was used. */ 2015 /* Check if pubkey from client certificate was used. */
2016 if (EVP_PKEY_CTX_ctrl(pkey_ctx, -1, -1, EVP_PKEY_CTRL_PEER_KEY, 2, 2016 if (EVP_PKEY_CTX_ctrl(pkey_ctx, -1, -1, EVP_PKEY_CTRL_PEER_KEY, 2,
2017 NULL) > 0) { 2017 NULL) > 0)
2018 /* Set flag "skip certificate verify". */
2019 s->s3->flags |= TLS1_FLAGS_SKIP_CERT_VERIFY; 2018 s->s3->flags |= TLS1_FLAGS_SKIP_CERT_VERIFY;
2020 }
2021 EVP_PKEY_CTX_free(pkey_ctx); 2019 EVP_PKEY_CTX_free(pkey_ctx);
2022 2020
2023 if (!tls12_derive_master_secret(s, premaster_secret, 32)) 2021 if (!tls12_derive_master_secret(s, premaster_secret, 32))