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:
6b3a385
)
Incorrect argument order to memset()
author
Richard Levitte
<levitte@openssl.org>
Wed, 25 Sep 2002 12:52:23 +0000
(12:52 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 25 Sep 2002 12:52:23 +0000
(12:52 +0000)
crypto/engine/hw_4758_cca.c
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_4758_cca.c
b/crypto/engine/hw_4758_cca.c
index bfb80968e2efbe52b95e33f1f2dcac5396690c78..6d41b9ed2ad93b9211d1c4abc338d280e2bb67cd 100644
(file)
--- 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);
}