OLD | NEW |
1 /* | 1 /* |
2 * NSS utility functions | 2 * NSS utility functions |
3 * | 3 * |
4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
7 /* $Id: cmpcert.c,v 1.7 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ | 7 /* $Id$ */ |
8 | 8 |
9 #include <stdio.h> | 9 #include <stdio.h> |
10 #include <string.h> | 10 #include <string.h> |
11 #include "prerror.h" | 11 #include "prerror.h" |
12 #include "secitem.h" | 12 #include "secitem.h" |
13 #include "prnetdb.h" | 13 #include "prnetdb.h" |
14 #include "cert.h" | 14 #include "cert.h" |
15 #include "nspr.h" | 15 #include "nspr.h" |
16 #include "secder.h" | 16 #include "secder.h" |
17 #include "key.h" | 17 #include "key.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 CERT_DestroyCertificate(curcert); | 82 CERT_DestroyCertificate(curcert); |
83 curcert = NULL; | 83 curcert = NULL; |
84 } | 84 } |
85 } | 85 } |
86 rv = SECFailure; | 86 rv = SECFailure; |
87 | 87 |
88 done: | 88 done: |
89 return rv; | 89 return rv; |
90 } | 90 } |
91 | 91 |
OLD | NEW |