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 * Support for various policy related extensions | 6 * Support for various policy related extensions |
7 * | |
8 * $Id$ | |
9 */ | 7 */ |
10 | 8 |
11 #include "seccomon.h" | 9 #include "seccomon.h" |
12 #include "secport.h" | 10 #include "secport.h" |
13 #include "secder.h" | 11 #include "secder.h" |
14 #include "cert.h" | 12 #include "cert.h" |
15 #include "secoid.h" | 13 #include "secoid.h" |
16 #include "secasn1.h" | 14 #include "secasn1.h" |
17 #include "secerr.h" | 15 #include "secerr.h" |
18 #include "nspr.h" | 16 #include "nspr.h" |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 if (certInhibitAny == NULL || dest == NULL) { | 817 if (certInhibitAny == NULL || dest == NULL) { |
820 return SECFailure; | 818 return SECFailure; |
821 } | 819 } |
822 | 820 |
823 if (SEC_ASN1EncodeItem (arena, dest, certInhibitAny, | 821 if (SEC_ASN1EncodeItem (arena, dest, certInhibitAny, |
824 CERT_InhibitAnyTemplate) == NULL) { | 822 CERT_InhibitAnyTemplate) == NULL) { |
825 rv = SECFailure; | 823 rv = SECFailure; |
826 } | 824 } |
827 return(rv); | 825 return(rv); |
828 } | 826 } |
OLD | NEW |