From 7539b1d1aa7b04d595ce83af96b46ac11132a690 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 28 Mar 2008 11:47:11 +0000 Subject: [PATCH] fixed compiler warning in openace fixed pem loading bug --- src/openac/openac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openac/openac.c b/src/openac/openac.c index 799299dbd..b79f4cdc0 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -184,7 +185,7 @@ static private_key_t* private_key_create_from_file(char *path, chunk_t *secret) chunk_t chunk = chunk_empty; private_key_t *key = NULL; - if (!pem_asn1_load_file(path, &secret, &chunk, &pgp)) + if (!pem_asn1_load_file(path, secret, &chunk, &pgp)) { DBG1(" could not load private key file '%s'", path); return NULL;