diff options
| author | jsing <> | 2022-01-09 15:29:42 +0000 |
|---|---|---|
| committer | jsing <> | 2022-01-09 15:29:42 +0000 |
| commit | be41e218ab5bd6b90a01c7d883718b52b90501ed (patch) | |
| tree | ba770140bc960151768491a43709904406a986e2 /src | |
| parent | 258c4e200fe5875dafb95794183947b663554c57 (diff) | |
| download | openbsd-be41e218ab5bd6b90a01c7d883718b52b90501ed.tar.gz openbsd-be41e218ab5bd6b90a01c7d883718b52b90501ed.tar.bz2 openbsd-be41e218ab5bd6b90a01c7d883718b52b90501ed.zip | |
Remove a comment from Captain Obvious.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/ssl_clnt.c | 6 |
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)) |
