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 * certhtml.c --- convert a cert to html | 6 * certhtml.c --- convert a cert to html |
7 * | |
8 * $Id$ | |
9 */ | 7 */ |
10 | 8 |
11 #include "seccomon.h" | 9 #include "seccomon.h" |
12 #include "secitem.h" | 10 #include "secitem.h" |
13 #include "sechash.h" | 11 #include "sechash.h" |
14 #include "cert.h" | 12 #include "cert.h" |
15 #include "keyhi.h" | 13 #include "keyhi.h" |
16 #include "secder.h" | 14 #include "secder.h" |
17 #include "prprf.h" | 15 #include "prprf.h" |
18 #include "secport.h" | 16 #include "secport.h" |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 if ( state ) { | 290 if ( state ) { |
293 SECITEM_FreeItem(state, PR_TRUE); | 291 SECITEM_FreeItem(state, PR_TRUE); |
294 } | 292 } |
295 if ( country ) { | 293 if ( country ) { |
296 SECITEM_FreeItem(country, PR_TRUE); | 294 SECITEM_FreeItem(country, PR_TRUE); |
297 } | 295 } |
298 | 296 |
299 return(buf); | 297 return(buf); |
300 } | 298 } |
301 | 299 |
OLD | NEW |