| 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 #ifdef FREEBL_NO_DEPEND |    5 #ifdef FREEBL_NO_DEPEND | 
|    6 #include "stubs.h" |    6 #include "stubs.h" | 
|    7 #endif |    7 #endif | 
|    8  |    8  | 
|    9 #include "nspr.h" |    9 #include "nspr.h" | 
|   10 #include "sechash.h" |   10 #include "hasht.h" | 
|   11 #include "blapi.h"      /* below the line */ |   11 #include "blapi.h"      /* below the line */ | 
|   12 #include "secerr.h" |   12 #include "secerr.h" | 
|   13  |   13  | 
|   14 static void * |   14 static void * | 
|   15 null_hash_new_context(void) |   15 null_hash_new_context(void) | 
|   16 { |   16 { | 
|   17     return NULL; |   17     return NULL; | 
|   18 } |   18 } | 
|   19  |   19  | 
|   20 static void * |   20 static void * | 
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  138  |  138  | 
|  139 const SECHashObject * |  139 const SECHashObject * | 
|  140 HASH_GetRawHashObject(HASH_HashType hashType) |  140 HASH_GetRawHashObject(HASH_HashType hashType) | 
|  141 { |  141 { | 
|  142     if (hashType < HASH_AlgNULL || hashType >= HASH_AlgTOTAL) { |  142     if (hashType < HASH_AlgNULL || hashType >= HASH_AlgTOTAL) { | 
|  143         PORT_SetError(SEC_ERROR_INVALID_ARGS); |  143         PORT_SetError(SEC_ERROR_INVALID_ARGS); | 
|  144         return NULL; |  144         return NULL; | 
|  145     } |  145     } | 
|  146     return &SECRawHashObjects[hashType]; |  146     return &SECRawHashObjects[hashType]; | 
|  147 } |  147 } | 
| OLD | NEW |