diff options
author | Nils Larsch <nils@openssl.org> | 2005-06-08 22:20:24 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-06-08 22:20:24 +0000 |
commit | 898d3ecce079668a39f7497aee511e721b62efe4 (patch) | |
tree | 0eff09ca4f5fe4744bfd2876da0abd0b3d2db0bc /ssl | |
parent | 004f16f6c4c047bef413caff07e197d895a4f9f0 (diff) |
use "=" instead of "|=", fix typo
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_ciph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 038412a92c..b071a6309f 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -740,11 +740,11 @@ static int ssl_cipher_process_rulestr(const char *rule_str, if (!found) break; /* ignore this entry */ - algorithms |= (ca_list[j]->algorithms & ~mask) | - (ca_list[j]->algorithms & algorithms & mask); + algorithms = (ca_list[j]->algorithms & ~mask) | + (ca_list[j]->algorithms & algorithms & mask); mask |= ca_list[j]->mask; - algo_strength |= (ca_list[j]->algo_strength & ~mask_strength) | - (ca_list[j]->algo_strength & algorithms & mask_strength); + algo_strength = (ca_list[j]->algo_strength & ~mask_strength) | + (ca_list[j]->algo_strength & algo_strength & mask_strength); mask_strength |= ca_list[j]->mask_strength; if (!multi) break; |