Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: mozilla/security/nss/lib/freebl/rawhash.c

Issue 11362174: Update NSS to NSS 3.14 pre-release snapshot 2012-06-28 01:00:00 PDT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update the snapshot timestamp in README.chromium Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698