Chromium Code Reviews

Side by Side Diff: net/base/x509_certificate_nss.cc

Issue 43079: NO CODE CHANGE (Closed)
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « net/base/x509_certificate.h ('k') | net/base/x509_certificate_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/base/x509_certificate.h" 5 #include "net/base/x509_certificate.h"
6 6
7 // Work around https://bugzilla.mozilla.org/show_bug.cgi?id=455424 7 // Work around https://bugzilla.mozilla.org/show_bug.cgi?id=455424
8 // until NSS 3.12.2 comes out and we update to it. 8 // until NSS 3.12.2 comes out and we update to it.
9 #define Lock FOO_NSS_Lock 9 #define Lock FOO_NSS_Lock
10 #include <cert.h> 10 #include <cert.h>
(...skipping 234 matching lines...)
245 DCHECK(0 != cert->derCert.len); 245 DCHECK(0 != cert->derCert.len);
246 246
247 SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, sha1.data, 247 SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, sha1.data,
248 cert->derCert.data, cert->derCert.len); 248 cert->derCert.data, cert->derCert.len);
249 DCHECK(rv == SECSuccess); 249 DCHECK(rv == SECSuccess);
250 250
251 return sha1; 251 return sha1;
252 } 252 }
253 253
254 } // namespace net 254 } // namespace net
255
OLDNEW
« no previous file with comments | « net/base/x509_certificate.h ('k') | net/base/x509_certificate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine