Differences From Artifact [c16f533241]:
- File
cackey.c
— part of check-in
[965b9a28c7]
at
2010-06-05 20:17:31
on branch trunk
— Updated to correctly deep copy pTemplate in C_FindObjectsInit
Added support for CKA_TRUSTED (user: rkeene, size: 163318) [annotate] [blame] [check-ins using]
To Artifact [b61b0b2a2f]:
- File cackey.c — part of check-in [85feb752e1] at 2010-06-07 17:35:28 on branch trunk — Updated to correctly handle condition where pSignature is NULL in C_Sign() (user: rkeene, size: 163539) [annotate] [blame] [check-ins using]
︙ | |||
5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 | 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 | + + + + + + + + | cackey_sessions[hSession].sign_bufused = start_sign_bufused; return(sign_ret); } CACKEY_DEBUG_PRINTF("Error. SignFinal() returned failure (rv = %lu).", (unsigned long) sign_ret); return(sign_ret); } if (pSignature == NULL) { CACKEY_DEBUG_PRINTF("pSignature specified as NULL, undoing C_SignUpdate()", (unsigned long) sign_ret); cackey_sessions[hSession].sign_bufused = start_sign_bufused; return(sign_ret); } CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i)", CKR_OK); return(CKR_OK); } |
︙ |