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 * object.c | 6 * object.c |
11 * | 7 * |
12 * This file implements the NSSCKFWObject type and methods. | 8 * This file implements the NSSCKFWObject 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 } | 1014 } |
1019 | 1015 |
1020 *pError = nssCKFWObject_verifyPointer(fwObject); | 1016 *pError = nssCKFWObject_verifyPointer(fwObject); |
1021 if( CKR_OK != *pError ) { | 1017 if( CKR_OK != *pError ) { |
1022 return (CK_ULONG)0; | 1018 return (CK_ULONG)0; |
1023 } | 1019 } |
1024 #endif /* DEBUG */ | 1020 #endif /* DEBUG */ |
1025 | 1021 |
1026 return nssCKFWObject_GetObjectSize(fwObject, pError); | 1022 return nssCKFWObject_GetObjectSize(fwObject, pError); |
1027 } | 1023 } |
OLD | NEW |