summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2021-11-23 18:26:23 +0000
committertb <>2021-11-23 18:26:23 +0000
commit95e85ad8068be763e1ad04553b0d531f60507951 (patch)
tree7aa09a1d159a16634562787c55d9f5183ba4aa7c /src/lib
parent864e945e483e981f62ef5b6d8658b1c4ed310b90 (diff)
downloadopenbsd-95e85ad8068be763e1ad04553b0d531f60507951.tar.gz
openbsd-95e85ad8068be763e1ad04553b0d531f60507951.tar.bz2
openbsd-95e85ad8068be763e1ad04553b0d531f60507951.zip
Transform a mangled comment into something intelligible.
from beck
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl_ciph.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c
index 0e9941bc0b..643d668d7c 100644
--- a/src/lib/libssl/ssl_ciph.c
+++ b/src/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_ciph.c,v 1.124 2021/07/03 16:06:44 jsing Exp $ */ 1/* $OpenBSD: ssl_ciph.c,v 1.125 2021/11/23 18:26:23 tb 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 *
@@ -681,7 +681,10 @@ ssl_cipher_collect_ciphers(const SSL_METHOD *ssl_method, int num_of_ciphers,
681 co_list_num = 0; /* actual count of ciphers */ 681 co_list_num = 0; /* actual count of ciphers */
682 for (i = 0; i < num_of_ciphers; i++) { 682 for (i = 0; i < num_of_ciphers; i++) {
683 c = ssl_method->get_cipher(i); 683 c = ssl_method->get_cipher(i);
684 /* drop those that use any of that is not available */ 684 /*
685 * Drop any invalid ciphers and any which use unavailable
686 * algorithms.
687 */
685 if ((c != NULL) && c->valid && 688 if ((c != NULL) && c->valid &&
686 !(c->algorithm_mkey & disabled_mkey) && 689 !(c->algorithm_mkey & disabled_mkey) &&
687 !(c->algorithm_auth & disabled_auth) && 690 !(c->algorithm_auth & disabled_auth) &&