projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6335a
)
Fix typo, should be && rather than &
author
Richard Levitte
<levitte@openssl.org>
Wed, 22 Feb 2017 20:06:27 +0000
(21:06 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 22 Feb 2017 20:07:28 +0000
(21:07 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2689)
crypto/ec/ec_asn1.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_asn1.c
b/crypto/ec/ec_asn1.c
index b6b13d3c10690623f390ffcc983f9caa246383bb..271178f82e89552d039935b3e42e9a4b24b34bc8 100644
(file)
--- 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;