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 /* | 5 /* |
6 * PKCS7 creation. | 6 * PKCS7 creation. |
7 * | |
8 * $Id$ | |
9 */ | 7 */ |
10 | 8 |
11 #include "p7local.h" | 9 #include "p7local.h" |
12 | 10 |
13 #include "cert.h" | 11 #include "cert.h" |
14 #include "secasn1.h" | 12 #include "secasn1.h" |
15 #include "secitem.h" | 13 #include "secitem.h" |
16 #include "secoid.h" | 14 #include "secoid.h" |
17 #include "pk11func.h" | 15 #include "pk11func.h" |
18 #include "prtime.h" | 16 #include "prtime.h" |
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 SEC_OID_PKCS7_DATA, PR_FALSE, | 1282 SEC_OID_PKCS7_DATA, PR_FALSE, |
1285 algorithm, keysize); | 1283 algorithm, keysize); |
1286 if (rv != SECSuccess) { | 1284 if (rv != SECSuccess) { |
1287 SEC_PKCS7DestroyContentInfo (cinfo); | 1285 SEC_PKCS7DestroyContentInfo (cinfo); |
1288 return NULL; | 1286 return NULL; |
1289 } | 1287 } |
1290 | 1288 |
1291 return cinfo; | 1289 return cinfo; |
1292 } | 1290 } |
1293 | 1291 |
OLD | NEW |