OLD | NEW |
1 /* | 1 /* |
2 * NSS utility functions | 2 * NSS utility functions |
3 * | 3 * |
4 * ***** BEGIN LICENSE BLOCK ***** | 4 * ***** BEGIN LICENSE BLOCK ***** |
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
6 * | 6 * |
7 * The contents of this file are subject to the Mozilla Public License Version | 7 * The contents of this file are subject to the Mozilla Public License Version |
8 * 1.1 (the "License"); you may not use this file except in compliance with | 8 * 1.1 (the "License"); you may not use this file except in compliance with |
9 * the License. You may obtain a copy of the License at | 9 * the License. You may obtain a copy of the License at |
10 * http://www.mozilla.org/MPL/ | 10 * http://www.mozilla.org/MPL/ |
(...skipping 18 matching lines...) Expand all Loading... |
29 * in which case the provisions of the GPL or the LGPL are applicable instead | 29 * in which case the provisions of the GPL or the LGPL are applicable instead |
30 * of those above. If you wish to allow use of your version of this file only | 30 * of those above. If you wish to allow use of your version of this file only |
31 * under the terms of either the GPL or the LGPL, and not to allow others to | 31 * under the terms of either the GPL or the LGPL, and not to allow others to |
32 * use your version of this file under the terms of the MPL, indicate your | 32 * use your version of this file under the terms of the MPL, indicate your |
33 * decision by deleting the provisions above and replace them with the notice | 33 * decision by deleting the provisions above and replace them with the notice |
34 * and other provisions required by the GPL or the LGPL. If you do not delete | 34 * and other provisions required by the GPL or the LGPL. If you do not delete |
35 * the provisions above, a recipient may use your version of this file under | 35 * the provisions above, a recipient may use your version of this file under |
36 * the terms of any one of the MPL, the GPL or the LGPL. | 36 * the terms of any one of the MPL, the GPL or the LGPL. |
37 * | 37 * |
38 * ***** END LICENSE BLOCK ***** */ | 38 * ***** END LICENSE BLOCK ***** */ |
39 /* $Id: nssinit.c,v 1.104 2010/01/09 01:01:32 rrelyea%redhat.com Exp $ */ | 39 /* $Id: nssinit.c,v 1.105 2010/01/22 02:10:54 wtc%google.com Exp $ */ |
40 | 40 |
41 #include <ctype.h> | 41 #include <ctype.h> |
42 #include <string.h> | 42 #include <string.h> |
43 #include "seccomon.h" | 43 #include "seccomon.h" |
44 #include "prinit.h" | 44 #include "prinit.h" |
45 #include "prprf.h" | 45 #include "prprf.h" |
46 #include "prmem.h" | 46 #include "prmem.h" |
47 #include "cert.h" | 47 #include "cert.h" |
48 #include "key.h" | 48 #include "key.h" |
49 #include "secmod.h" | 49 #include "secmod.h" |
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 if (vmajor == NSS_VMAJOR && vminor == NSS_VMINOR && | 1206 if (vmajor == NSS_VMAJOR && vminor == NSS_VMINOR && |
1207 vpatch == NSS_VPATCH && vbuild > NSS_VBUILD) { | 1207 vpatch == NSS_VPATCH && vbuild > NSS_VBUILD) { |
1208 return PR_FALSE; | 1208 return PR_FALSE; |
1209 } | 1209 } |
1210 /* Check dependent libraries */ | 1210 /* Check dependent libraries */ |
1211 if (PR_VersionCheck(PR_VERSION) == PR_FALSE) { | 1211 if (PR_VersionCheck(PR_VERSION) == PR_FALSE) { |
1212 return PR_FALSE; | 1212 return PR_FALSE; |
1213 } | 1213 } |
1214 return PR_TRUE; | 1214 return PR_TRUE; |
1215 } | 1215 } |
OLD | NEW |