mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -1045,15 +1045,10 @@ CERT_FindSMimeProfile(CERTCertificate *cert)
|
|||
nssSMIMEProfile *stanProfile;
|
||||
stanProfile = nssCryptoContext_FindSMIMEProfileForCertificate(cc, c);
|
||||
if (stanProfile) {
|
||||
if (stanProfile->profileData) {
|
||||
rvItem =
|
||||
SECITEM_AllocItem(NULL, NULL,
|
||||
stanProfile->profileData->size);
|
||||
if (rvItem) {
|
||||
PORT_Memcpy(rvItem->data,
|
||||
stanProfile->profileData->data,
|
||||
stanProfile->profileData->size);
|
||||
}
|
||||
rvItem =
|
||||
SECITEM_AllocItem(NULL, NULL, stanProfile->profileData->size);
|
||||
if (rvItem) {
|
||||
rvItem->data = stanProfile->profileData->data;
|
||||
}
|
||||
nssSMIMEProfile_Destroy(stanProfile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue