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 * token.c | 6 * token.c |
11 * | 7 * |
12 * This file implements the NSSCKFWToken type and methods. | 8 * This file implements the NSSCKFWToken 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 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1887 ) | 1883 ) |
1888 { | 1884 { |
1889 #ifdef DEBUG | 1885 #ifdef DEBUG |
1890 if( CKR_OK != nssCKFWToken_verifyPointer(fwToken) ) { | 1886 if( CKR_OK != nssCKFWToken_verifyPointer(fwToken) ) { |
1891 return CKS_RO_PUBLIC_SESSION; | 1887 return CKS_RO_PUBLIC_SESSION; |
1892 } | 1888 } |
1893 #endif /* DEBUG */ | 1889 #endif /* DEBUG */ |
1894 | 1890 |
1895 return nssCKFWToken_GetSessionState(fwToken); | 1891 return nssCKFWToken_GetSessionState(fwToken); |
1896 } | 1892 } |
OLD | NEW |