14 lines
546 B
Diff
14 lines
546 B
Diff
|
Index: coolkey-1.3.0/src/coolkey/slot.cpp
|
||
|
===================================================================
|
||
|
--- coolkey-1.3.0.orig/src/coolkey/slot.cpp
|
||
|
+++ coolkey-1.3.0/src/coolkey/slot.cpp
|
||
|
@@ -4492,7 +4492,7 @@ Slot::cryptRSA(SessionHandleSuffix suffi
|
||
|
throw PKCS11Exception(CKR_DATA_LEN_RANGE);
|
||
|
}
|
||
|
if (ulInputLen > maxSize) {
|
||
|
- ulInputlen = maxSize;
|
||
|
+ ulInputLen = maxSize;
|
||
|
}
|
||
|
// OK, this is gross. We should get our own C++ like buffer
|
||
|
// management at this point. This code has nothing to do with
|