git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b285e6
)
Fix off by 1 write.
author
Viktor Dukhovni
<viktor@twosigma.com>
Fri, 17 Mar 2017 04:33:07 +0000
(
00:33
-0400)
committer
Viktor Dukhovni
<viktor1ghub@dukhovni.org>
Fri, 17 Mar 2017 15:51:30 +0000
(11:51 -0400)
lib/hx509/softp11.c
patch
|
blob
|
history
diff --git
a/lib/hx509/softp11.c
b/lib/hx509/softp11.c
index 839e956474b2f4ef398fbe1234f7871c60082443..f93863b7c980fa14f79422dd72a441d4c611859e 100644
(file)
--- a/
lib/hx509/softp11.c
+++ b/
lib/hx509/softp11.c
@@
-1087,7
+1087,7
@@
C_GetMechanismList(CK_SLOT_ID slotID,
*pulCount = 1;
if (pMechanismList == NULL_PTR)
return CKR_OK;
- pMechanismList[
1
] = CKM_RSA_PKCS;
+ pMechanismList[
0
] = CKM_RSA_PKCS;
return CKR_OK;
}