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 "prinit.h" | 9 #include "prinit.h" |
11 #include "prerr.h" | 10 #include "prerr.h" |
12 #include "secerr.h" | 11 #include "secerr.h" |
13 | 12 |
14 #include "prtypes.h" | 13 #include "prtypes.h" |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1262 return SECFailure; | 1261 return SECFailure; |
1263 } | 1262 } |
1264 if (maxOutputLen < inputLen) { | 1263 if (maxOutputLen < inputLen) { |
1265 PORT_SetError(SEC_ERROR_OUTPUT_LEN); | 1264 PORT_SetError(SEC_ERROR_OUTPUT_LEN); |
1266 return SECFailure; | 1265 return SECFailure; |
1267 } | 1266 } |
1268 *outputLen = inputLen; | 1267 *outputLen = inputLen; |
1269 return (*cx->worker)(cx->worker_cx, output, outputLen, maxOutputLen, | 1268 return (*cx->worker)(cx->worker_cx, output, outputLen, maxOutputLen, |
1270 input, inputLen, blocksize); | 1269 input, inputLen, blocksize); |
1271 } | 1270 } |
OLD | NEW |