Fix typo, should be && rather than &
[oweals/openssl.git] / crypto / ec / ec_asn1.c
index b6b13d3c10690623f390ffcc983f9caa246383bb..271178f82e89552d039935b3e42e9a4b24b34bc8 100644 (file)
@@ -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;