X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fecp_nistp224.c;fp=crypto%2Fec%2Fecp_nistp224.c;h=e6f095e7280e317d6feae67e8e0d6d36efb473a3;hp=653965953b1b613c3091d4b486d6ff7ca97d2c3b;hb=80de174281f7bf5ae9799df26153efe476f41b92;hpb=2661d716d99fc1dd3240dcdbca6ab73d7b61a72b diff --git a/crypto/ec/ecp_nistp224.c b/crypto/ec/ecp_nistp224.c index 653965953b..e6f095e728 100644 --- a/crypto/ec/ecp_nistp224.c +++ b/crypto/ec/ecp_nistp224.c @@ -676,7 +676,9 @@ static void felem_contract(felem out, const felem in) */ static void felem_neg(felem out, const felem in) { - widefelem tmp = {0}; + widefelem tmp; + + memset(tmp, 0, sizeof(tmp)); felem_diff_128_64(tmp, in); felem_reduce(out, tmp); }