From 63e47cd7180a46635ed08a80e3b1bcb17c3b8a58 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Wed, 13 Feb 2019 16:34:18 +0100 Subject: Reintroduced for backward compatibility the old api for signing packets that allocates the buffer holding the signature. Change-Id: I7ee9089b5cb1ec21fd0c5c27f9ee391cc294266b Signed-off-by: Alberto Compagno --- libparc/parc/security/parc_Pkcs12KeyStore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libparc/parc/security/parc_Pkcs12KeyStore.c') diff --git a/libparc/parc/security/parc_Pkcs12KeyStore.c b/libparc/parc/security/parc_Pkcs12KeyStore.c index 12246593..55e5e9b5 100644 --- a/libparc/parc/security/parc_Pkcs12KeyStore.c +++ b/libparc/parc/security/parc_Pkcs12KeyStore.c @@ -255,7 +255,7 @@ parcPkcs12KeyStore_CreateFile( default: return result; } - + if (pkcs12 != NULL) { int fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0600); if (fd != -1) { -- cgit 1.2.3-korg