From 6e0e678627a782e2c16c427d5072e6f578e5a906 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 5 Aug 2020 14:54:55 -0400 Subject: [PATCH] fix(core): improve error log when parsing PKCS12 certificate --- SoObjects/Mailer/NSData+SMIME.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/NSData+SMIME.m b/SoObjects/Mailer/NSData+SMIME.m index 64485f749..fa08d7032 100644 --- a/SoObjects/Mailer/NSData+SMIME.m +++ b/SoObjects/Mailer/NSData+SMIME.m @@ -416,7 +416,7 @@ if (!PKCS12_parse(p12, [thePassword UTF8String], &pkey, &cert, &ca)) { - NSLog(@"FATAL"); + NSLog(@"FATAL: could not parse PKCS12 certificate with provided password"); return nil; }