diff options
author | Richard Levitte <levitte@openssl.org> | 2002-09-25 12:52:13 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-09-25 12:52:13 +0000 |
commit | cd98ab6491421db18dd8b4442d016e01ff202fc1 (patch) | |
tree | 59bd8440c14e0e1b530ee6accfac49db9443e7f0 /crypto | |
parent | b3823ac64b4e0582d6b5bc81804b809e86753d3a (diff) |
Incorrect argument order to memset()
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/engine/hw_4758_cca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/hw_4758_cca.c b/crypto/engine/hw_4758_cca.c index bfb80968e2..6d41b9ed2a 100644 --- a/crypto/engine/hw_4758_cca.c +++ b/crypto/engine/hw_4758_cca.c @@ -715,7 +715,7 @@ static int cca_rsa_verify(int type, const unsigned char *m, unsigned int m_len, if (type == NID_sha1 || type == NID_md5) { - memset(hashBuffer, keyLength+1, 0); + memset(hashBuffer, 0, keyLength+1); OPENSSL_free(hashBuffer); } @@ -838,7 +838,7 @@ static int cca_rsa_sign(int type, const unsigned char *m, unsigned int m_len, if (type == NID_sha1 || type == NID_md5) { - memset(hashBuffer, keyLength+1, 0); + memset(hashBuffer, 0, keyLength+1); OPENSSL_free(hashBuffer); } |