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

Side by Side Diff: nss/lib/certdb/stanpcertdb.c

Issue 17773004: Update NSS to NSS_3_15_1_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 6 months 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
« no previous file with comments | « nss/lib/certdb/certdb.h ('k') | nss/lib/libpkix/pkix/top/pkix_build.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "prtime.h" 5 #include "prtime.h"
6 6
7 #include "cert.h" 7 #include "cert.h"
8 #include "certi.h" 8 #include "certi.h"
9 #include "certdb.h" 9 #include "certdb.h"
10 #include "secitem.h" 10 #include "secitem.h"
(...skipping 14 matching lines...) Expand all
25 #include "pki.h" 25 #include "pki.h"
26 #include "pkim.h" 26 #include "pkim.h"
27 #include "pki3hack.h" 27 #include "pki3hack.h"
28 #include "ckhelper.h" 28 #include "ckhelper.h"
29 #include "base.h" 29 #include "base.h"
30 #include "pkistore.h" 30 #include "pkistore.h"
31 #include "dev3hack.h" 31 #include "dev3hack.h"
32 #include "dev.h" 32 #include "dev.h"
33 33
34 PRBool 34 PRBool
35 SEC_CertNicknameConflict(const char *nickname, SECItem *derSubject, 35 SEC_CertNicknameConflict(const char *nickname, const SECItem *derSubject,
36 CERTCertDBHandle *handle) 36 CERTCertDBHandle *handle)
37 { 37 {
38 CERTCertificate *cert; 38 CERTCertificate *cert;
39 PRBool conflict = PR_FALSE; 39 PRBool conflict = PR_FALSE;
40 40
41 cert=CERT_FindCertByNickname(handle, nickname); 41 cert=CERT_FindCertByNickname(handle, nickname);
42 42
43 if (!cert) { 43 if (!cert) {
44 return conflict; 44 return conflict;
45 } 45 }
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 __CERT_TraversePermCertsForNickname(CERTCertDBHandle *handle, char *nickname, 1063 __CERT_TraversePermCertsForNickname(CERTCertDBHandle *handle, char *nickname,
1064 void *cb, void *cbarg) 1064 void *cb, void *cbarg)
1065 { 1065 {
1066 PORT_Assert("CERT_TraversePermCertsForNickname is Deprecated" == NULL); 1066 PORT_Assert("CERT_TraversePermCertsForNickname is Deprecated" == NULL);
1067 PORT_SetError(PR_NOT_IMPLEMENTED_ERROR); 1067 PORT_SetError(PR_NOT_IMPLEMENTED_ERROR);
1068 return SECFailure; 1068 return SECFailure;
1069 } 1069 }
1070 1070
1071 1071
1072 1072
OLDNEW
« no previous file with comments | « nss/lib/certdb/certdb.h ('k') | nss/lib/libpkix/pkix/top/pkix_build.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698