OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
7 #endif /* DEBUG */ | |
8 | |
9 /* | 5 /* |
10 * session.c | 6 * session.c |
11 * | 7 * |
12 * This file implements the NSSCKFWSession type and methods. | 8 * This file implements the NSSCKFWSession type and methods. |
13 */ | 9 */ |
14 | 10 |
15 #ifndef CK_T | 11 #ifndef CK_T |
16 #include "ck.h" | 12 #include "ck.h" |
17 #endif /* CK_T */ | 13 #endif /* CK_T */ |
18 | 14 |
(...skipping 2436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2455 if( CKR_OK != error ) { | 2451 if( CKR_OK != error ) { |
2456 return (NSSCKFWCryptoOperation *)NULL; | 2452 return (NSSCKFWCryptoOperation *)NULL; |
2457 } | 2453 } |
2458 | 2454 |
2459 if ( state >= NSSCKFWCryptoOperationState_Max) { | 2455 if ( state >= NSSCKFWCryptoOperationState_Max) { |
2460 return (NSSCKFWCryptoOperation *)NULL; | 2456 return (NSSCKFWCryptoOperation *)NULL; |
2461 } | 2457 } |
2462 #endif /* DEBUG */ | 2458 #endif /* DEBUG */ |
2463 return nssCKFWSession_GetCurrentCryptoOperation(fwSession, state); | 2459 return nssCKFWSession_GetCurrentCryptoOperation(fwSession, state); |
2464 } | 2460 } |
OLD | NEW |