ios/nsec: Fix exportInternalServerCertificate.

This appeared to work before because properties were not being correctly
read.
This commit is contained in:
James Benton
2022-01-09 10:00:10 +00:00
parent b4f153e160
commit 86032bd41d

View File

@@ -138,7 +138,7 @@ NSSLDevice::exportInternalServerCertificate(
return NSSLError::CertNoAccess;
}
if (checkCertExportable(certMetaData)) {
if (!checkCertExportable(certMetaData)) {
return NSSLError::CertNotExportable;
}