OLD | NEW |
1 /* | 1 /* |
2 * alg2268.c - implementation of the algorithm in RFC 2268 | 2 * alg2268.c - implementation of the algorithm in RFC 2268 |
3 * | 3 * |
4 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
7 | 7 |
8 /* $Id$ */ | |
9 | |
10 #ifdef FREEBL_NO_DEPEND | 8 #ifdef FREEBL_NO_DEPEND |
11 #include "stubs.h" | 9 #include "stubs.h" |
12 #endif | 10 #endif |
13 | 11 |
14 #include "blapi.h" | 12 #include "blapi.h" |
15 #include "secerr.h" | 13 #include "secerr.h" |
16 #ifdef XP_UNIX_XXX | 14 #ifdef XP_UNIX_XXX |
17 #include <stddef.h> /* for ptrdiff_t */ | 15 #include <stddef.h> /* for ptrdiff_t */ |
18 #endif | 16 #endif |
19 | 17 |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 return SECFailure; | 476 return SECFailure; |
479 } | 477 } |
480 rv = (*cx->dec)(cx, output, input, inputLen); | 478 rv = (*cx->dec)(cx, output, input, inputLen); |
481 } | 479 } |
482 if (rv == SECSuccess) { | 480 if (rv == SECSuccess) { |
483 *outputLen = inputLen; | 481 *outputLen = inputLen; |
484 } | 482 } |
485 return rv; | 483 return rv; |
486 } | 484 } |
487 | 485 |
OLD | NEW |