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 /* $Id$ */ | |
5 | 4 |
6 #ifdef FREEBL_NO_DEPEND | 5 #ifdef FREEBL_NO_DEPEND |
7 #include "stubs.h" | 6 #include "stubs.h" |
8 #endif | 7 #endif |
9 | 8 |
10 #include "prerror.h" | 9 #include "prerror.h" |
11 #include "secerr.h" | 10 #include "secerr.h" |
12 | 11 |
13 #include "prtypes.h" | 12 #include "prtypes.h" |
14 #include "prinit.h" | 13 #include "prinit.h" |
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 if (rng_status == SECSuccess) { | 905 if (rng_status == SECSuccess) { |
907 PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); | 906 PORT_SetError(SEC_ERROR_LIBRARY_FAILURE); |
908 return SECFailure; | 907 return SECFailure; |
909 } | 908 } |
910 if (PORT_GetError() != SEC_ERROR_LIBRARY_FAILURE) { | 909 if (PORT_GetError() != SEC_ERROR_LIBRARY_FAILURE) { |
911 return rng_status; | 910 return rng_status; |
912 } | 911 } |
913 | 912 |
914 return SECSuccess; | 913 return SECSuccess; |
915 } | 914 } |
OLD | NEW |