Overview
Comment: | Updated to correctly handle condition where pSignature is NULL in C_Sign() |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
85feb752e10ced2b8e7324eb99e6db35 |
User & Date: | rkeene on 2010-06-07 17:35:28 |
Other Links: | manifest | tags |
Context
2010-06-07
| ||
17:37 | CACKey 0.5.12 check-in: 82a12f1ab0 user: rkeene tags: 0.5.12, trunk | |
17:35 | Updated to correctly handle condition where pSignature is NULL in C_Sign() check-in: 85feb752e1 user: rkeene tags: trunk | |
08:40 | Added a test program to configure script check-in: 8c2970ff5d user: rkeene tags: trunk | |
Changes
Modified cackey.c from [c16f533241] to [b61b0b2a2f].
︙ | ︙ | |||
5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 | 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); } CACKEY_DEBUG_PRINTF("Returning CKR_OK (%i)", CKR_OK); return(CKR_OK); } | > > > > > > > > | 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); } |
︙ | ︙ |