[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Wed Feb 22 20:08:20 UTC 2017


The branch OpenSSL_1_0_2-stable has been updated
       via  6161c5d81b66f38a8a65b78379182a42a9819cc6 (commit)
      from  33524a9c4bac74aa9a8748c1c54cde23bc5b5a88 (commit)


- Log -----------------------------------------------------------------
commit 6161c5d81b66f38a8a65b78379182a42a9819cc6
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Feb 22 21:06:27 2017 +0100

    Fix typo, should be && rather than &
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2689)
    (cherry picked from commit 50799f3558981eac0482d3ea77b21c58b56d4871)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/ec_asn1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c
index e3295c4..cf81841 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;
 


More information about the openssl-commits mailing list