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 #ifndef DEVM_H | 5 #ifndef DEVM_H |
10 #include "devm.h" | 6 #include "devm.h" |
11 #endif /* DEVM_H */ | 7 #endif /* DEVM_H */ |
12 | 8 |
13 #ifndef CKHELPER_H | 9 #ifndef CKHELPER_H |
14 #include "ckhelper.h" | 10 #include "ckhelper.h" |
15 #endif /* CKHELPER_H */ | 11 #endif /* CKHELPER_H */ |
16 | 12 |
17 NSS_IMPLEMENT nssCryptokiObject * | 13 NSS_IMPLEMENT nssCryptokiObject * |
18 nssCryptokiObject_Create ( | 14 nssCryptokiObject_Create ( |
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1001 NSSAlgorithmAndParameters *rvAP = NULL; | 997 NSSAlgorithmAndParameters *rvAP = NULL; |
1002 rvAP = nss_ZNEW(arenaOpt, NSSAlgorithmAndParameters); | 998 rvAP = nss_ZNEW(arenaOpt, NSSAlgorithmAndParameters); |
1003 if (rvAP) { | 999 if (rvAP) { |
1004 rvAP->mechanism.mechanism = CKM_MD5; | 1000 rvAP->mechanism.mechanism = CKM_MD5; |
1005 rvAP->mechanism.pParameter = NULL; | 1001 rvAP->mechanism.pParameter = NULL; |
1006 rvAP->mechanism.ulParameterLen = 0; | 1002 rvAP->mechanism.ulParameterLen = 0; |
1007 } | 1003 } |
1008 return rvAP; | 1004 return rvAP; |
1009 } | 1005 } |
1010 | 1006 |
OLD | NEW |