diff options
author | Richard Levitte <levitte@openssl.org> | 2017-02-22 21:06:27 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-02-22 21:07:59 +0100 |
commit | 6161c5d81b66f38a8a65b78379182a42a9819cc6 (patch) | |
tree | 9bcef8ba17e5646b550d01dd907ada3bb85bc7f6 | |
parent | 33524a9c4bac74aa9a8748c1c54cde23bc5b5a88 (diff) |
Fix typo, should be && rather than &
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2689)
(cherry picked from commit 50799f3558981eac0482d3ea77b21c58b56d4871)
-rw-r--r-- | crypto/ec/ec_asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c index e3295c4a14..cf81841035 100644 --- a/crypto/ec/ec_asn1.c +++ b/crypto/ec/ec_asn1.c @@ -73,7 +73,7 @@ int EC_GROUP_get_basis_type(const EC_GROUP *group) /* Find the last non-zero element of group->poly[] */ for (i = 0; - i < (int)OSSL_NELEM(group->poly) & group->poly[i] != 0; + i < (int)OSSL_NELEM(group->poly) && group->poly[i] != 0; i++) continue; |