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

Side by Side Diff: nss/lib/libpkix/pkix/crlsel/pkix_crlselector.c

Issue 1504923011: Update NSS to 3.21 RTM and NSPR to 4.11 RTM (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Created 5 years 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 * pkix_crlselector.c 5 * pkix_crlselector.c
6 * 6 *
7 * CRLSelector Function Definitions 7 * CRLSelector Function Definitions
8 * 8 *
9 */ 9 */
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 PKIX_OBJECTNOTCRLSELECTOR); 183 PKIX_OBJECTNOTCRLSELECTOR);
184 184
185 crlSelector = (PKIX_CRLSelector *)object; 185 crlSelector = (PKIX_CRLSelector *)object;
186 186
187 PKIX_HASHCODE(crlSelector->params, &paramsHash, plContext, 187 PKIX_HASHCODE(crlSelector->params, &paramsHash, plContext,
188 PKIX_OBJECTHASHCODEFAILED); 188 PKIX_OBJECTHASHCODEFAILED);
189 189
190 PKIX_HASHCODE(crlSelector->context, &contextHash, plContext, 190 PKIX_HASHCODE(crlSelector->context, &contextHash, plContext,
191 PKIX_OBJECTHASHCODEFAILED); 191 PKIX_OBJECTHASHCODEFAILED);
192 192
193 hash = 31 * ((PKIX_UInt32)crlSelector->matchCallback + 193 hash = 31 * ((PKIX_UInt32)((char *)crlSelector->matchCallback - (char *) NULL) +
194 (contextHash << 3)) + paramsHash; 194 (contextHash << 3)) + paramsHash;
195 195
196 *pHashcode = hash; 196 *pHashcode = hash;
197 197
198 cleanup: 198 cleanup:
199 199
200 PKIX_RETURN(CRLSELECTOR); 200 PKIX_RETURN(CRLSELECTOR);
201 } 201 }
202 202
203 /* 203 /*
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 filtered = NULL; 861 filtered = NULL;
862 862
863 cleanup: 863 cleanup:
864 864
865 PKIX_DECREF(filtered); 865 PKIX_DECREF(filtered);
866 PKIX_DECREF(candidate); 866 PKIX_DECREF(candidate);
867 867
868 PKIX_RETURN(CRLSELECTOR); 868 PKIX_RETURN(CRLSELECTOR);
869 869
870 } 870 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698