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 * Stuff specific to S/MIME policy and interoperability. | 6 * Stuff specific to S/MIME policy and interoperability. |
7 * Depends on PKCS7, but there should be no dependency the other way around. | 7 * Depends on PKCS7, but there should be no dependency the other way around. |
8 * | |
9 * $Id$ | |
10 */ | 8 */ |
11 | 9 |
12 #include "secmime.h" | 10 #include "secmime.h" |
13 #include "secoid.h" | 11 #include "secoid.h" |
14 #include "pk11func.h" | 12 #include "pk11func.h" |
15 #include "ciferfam.h" /* for CIPHER_FAMILY symbols */ | 13 #include "ciferfam.h" /* for CIPHER_FAMILY symbols */ |
16 #include "secasn1.h" | 14 #include "secasn1.h" |
17 #include "secitem.h" | 15 #include "secitem.h" |
18 #include "cert.h" | 16 #include "cert.h" |
19 #include "key.h" | 17 #include "key.h" |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 | 813 |
816 /* | 814 /* |
817 * Add the email profile. Again, if it fails for some reason, | 815 * Add the email profile. Again, if it fails for some reason, |
818 * may as well not give up altogether -- just assert. | 816 * may as well not give up altogether -- just assert. |
819 */ | 817 */ |
820 rv = smime_add_profile (ecert, cinfo); | 818 rv = smime_add_profile (ecert, cinfo); |
821 PORT_Assert (rv == SECSuccess); | 819 PORT_Assert (rv == SECSuccess); |
822 | 820 |
823 return cinfo; | 821 return cinfo; |
824 } | 822 } |
OLD | NEW |