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 /* | |
6 * $Id$ | |
7 */ | |
8 | |
9 #ifdef FREEBL_NO_DEPEND | 5 #ifdef FREEBL_NO_DEPEND |
10 #include "stubs.h" | 6 #include "stubs.h" |
11 #endif | 7 #endif |
12 | 8 |
13 #include "prinit.h" | 9 #include "prinit.h" |
14 #include "prerr.h" | 10 #include "prerr.h" |
15 #include "secerr.h" | 11 #include "secerr.h" |
16 | 12 |
17 #include "prtypes.h" | 13 #include "prtypes.h" |
18 #include "blapi.h" | 14 #include "blapi.h" |
(...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 } | 1773 } |
1778 if (maxOutputLen < inputLen) { | 1774 if (maxOutputLen < inputLen) { |
1779 PORT_SetError(SEC_ERROR_OUTPUT_LEN); | 1775 PORT_SetError(SEC_ERROR_OUTPUT_LEN); |
1780 return SECFailure; | 1776 return SECFailure; |
1781 } | 1777 } |
1782 *outputLen = inputLen; | 1778 *outputLen = inputLen; |
1783 | 1779 |
1784 return (*cx->worker)(cx, output, outputLen, maxOutputLen, | 1780 return (*cx->worker)(cx, output, outputLen, maxOutputLen, |
1785 input, inputLen); | 1781 input, inputLen); |
1786 } | 1782 } |
OLD | NEW |