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 * slot.c | 6 * slot.c |
11 * | 7 * |
12 * This file implements the NSSCKFWSlot type and methods. | 8 * This file implements the NSSCKFWSlot 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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 ) | 714 ) |
719 { | 715 { |
720 #ifdef DEBUG | 716 #ifdef DEBUG |
721 if( CKR_OK != nssCKFWSlot_verifyPointer(fwSlot) ) { | 717 if( CKR_OK != nssCKFWSlot_verifyPointer(fwSlot) ) { |
722 return (NSSCKMDInstance *)NULL; | 718 return (NSSCKMDInstance *)NULL; |
723 } | 719 } |
724 #endif /* DEBUG */ | 720 #endif /* DEBUG */ |
725 | 721 |
726 return nssCKFWSlot_GetMDInstance(fwSlot); | 722 return nssCKFWSlot_GetMDInstance(fwSlot); |
727 } | 723 } |
OLD | NEW |