diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-05-27 15:56:14 +0200 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2015-05-29 12:40:53 +0200 |
commit | 88f4c6f3d2f884715f8f5f8eb81f0a96cbec8cef (patch) | |
tree | d8f5c69425e52bab04aa9e34cc0608086acb4a29 /crypto/ec/ecp_nistp256.c | |
parent | cc01d21756cc9c79231ef21039782c5fe42008a2 (diff) |
Fix build errors with enable-ec_nistp_64_gcc_128
RT 3871
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ec/ecp_nistp256.c')
-rw-r--r-- | crypto/ec/ecp_nistp256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c index b4cd24d1fe..110984b125 100644 --- a/crypto/ec/ecp_nistp256.c +++ b/crypto/ec/ecp_nistp256.c @@ -1625,7 +1625,7 @@ static void select_point(const u64 idx, unsigned int size, unsigned i, j; u64 *outlimbs = &out[0][0]; - memset(out, 0, sizeof(out)); + memset(out, 0, sizeof(*out) * 3); for (i = 0; i < size; i++) { const u64 *inlimbs = (u64 *)&pre_comp[i][0][0]; |