Bug 379753. NSS WOrkaround for PSM bug 380091.
Don't let PSM clobber S/MIME profiles for our local user certs. r=rrelyea.. git-svn-id: svn://10.0.0.236/trunk@229950 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c12d37b9ff
commit
a1267b775d
@ -884,7 +884,12 @@ CERT_SaveSMimeProfile(CERTCertificate *cert, SECItem *emailProfile,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (cert->slot && cert->isperm && CERT_IsUserCert(cert) &&
|
||||
(!emailProfile || !emailProfile->len)) {
|
||||
/* Don't clobber emailProfile for user certs. */
|
||||
return SECSuccess;
|
||||
}
|
||||
|
||||
for (emailAddr = CERT_GetFirstEmailAddress(cert); emailAddr != NULL;
|
||||
emailAddr = CERT_GetNextEmailAddress(cert,emailAddr)) {
|
||||
rv = certdb_SaveSingleProfile(cert,emailAddr,emailProfile,profileTime);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user