aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc/security/parc_Pkcs12KeyStore.c
diff options
context:
space:
mode:
Diffstat (limited to 'libparc/parc/security/parc_Pkcs12KeyStore.c')
-rw-r--r--libparc/parc/security/parc_Pkcs12KeyStore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libparc/parc/security/parc_Pkcs12KeyStore.c b/libparc/parc/security/parc_Pkcs12KeyStore.c
index fd12c56f..392c9d34 100644
--- a/libparc/parc/security/parc_Pkcs12KeyStore.c
+++ b/libparc/parc/security/parc_Pkcs12KeyStore.c
@@ -311,6 +311,7 @@ _GetPublickKeyDigest(PARCPkcs12KeyStore *keystore)
assertNotNull(keystore, "Parameter must be non-null PARCPkcs12KeyStore");
+#if 0
if (keystore->public_key_digest == NULL) {
AUTHORITY_KEYID *akid = X509_get_ext_d2i(keystore->x509_cert, NID_authority_key_identifier, NULL, NULL);
if (akid != NULL) {
@@ -324,6 +325,7 @@ _GetPublickKeyDigest(PARCPkcs12KeyStore *keystore)
AUTHORITY_KEYID_free(akid);
}
}
+#endif
// If we could not load the digest from the certificate, then calculate it from the public key.
if (keystore->public_key_digest == NULL) {