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:
4be0a5d
)
Use keyspec for DSA too.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 1 Jun 2008 23:28:17 +0000
(23:28 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 1 Jun 2008 23:28:17 +0000
(23:28 +0000)
engines/e_capi.c
patch
|
blob
|
history
diff --git
a/engines/e_capi.c
b/engines/e_capi.c
index c6821ebc6a31c44cbe8fc45c3513b02b371777a5..f14a71341e42ee19499c96c54f6d0e4f66e3bfd5 100644
(file)
--- a/
engines/e_capi.c
+++ b/
engines/e_capi.c
@@
-855,7
+855,7
@@
static DSA_SIG *capi_dsa_do_sign(const unsigned char *digest, int dlen,
/* Finally sign it */
slen = sizeof(csigbuf);
- if(!CryptSignHash(hash,
AT_SIGNATURE
, NULL, 0, csigbuf, &slen))
+ if(!CryptSignHash(hash,
capi_key->keyspec
, NULL, 0, csigbuf, &slen))
{
CAPIerr(CAPI_F_CAPI_DSA_DO_SIGN, CAPI_R_ERROR_SIGNING_HASH);
capi_addlasterror();