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 * mechanism.c | 6 * mechanism.c |
11 * | 7 * |
12 * This file implements the NSSCKFWMechanism type and methods. | 8 * This file implements the NSSCKFWMechanism 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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 if (!mdObject) { | 1173 if (!mdObject) { |
1178 return (NSSCKFWObject *)NULL; | 1174 return (NSSCKFWObject *)NULL; |
1179 } | 1175 } |
1180 | 1176 |
1181 fwObject = nssCKFWObject_Create(arena, mdObject, | 1177 fwObject = nssCKFWObject_Create(arena, mdObject, |
1182 fwSession, fwMechanism->fwToken, fwMechanism->fwInstance, pError); | 1178 fwSession, fwMechanism->fwToken, fwMechanism->fwInstance, pError); |
1183 | 1179 |
1184 return fwObject; | 1180 return fwObject; |
1185 } | 1181 } |
1186 | 1182 |
OLD | NEW |