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:54 +0100 |
commit | c1d0d2e690d2a33216de6c5920c81d9852080d36 (patch) | |
tree | c630a198372ed3d316f3e22dd237c37477698110 /crypto/ec | |
parent | 69bb97c6d65250324a65fbb6fcac3fefb59d242a (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)
Diffstat (limited to 'crypto/ec')
-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 b6b13d3c10..271178f82e 100644 --- a/crypto/ec/ec_asn1.c +++ b/crypto/ec/ec_asn1.c @@ -24,7 +24,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; |