strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf7956
)
fixed compiler warning in openace
author
Martin Willi
<martin@strongswan.org>
Fri, 28 Mar 2008 11:47:11 +0000
(11:47 -0000)
committer
Martin Willi
<martin@strongswan.org>
Fri, 28 Mar 2008 11:47:11 +0000
(11:47 -0000)
fixed pem loading bug
src/openac/openac.c
patch
|
blob
|
history
diff --git
a/src/openac/openac.c
b/src/openac/openac.c
index
799299d
..
b79f4cd
100755
(executable)
--- a/
src/openac/openac.c
+++ b/
src/openac/openac.c
@@
-36,6
+36,7
@@
#include <library.h>
#include <debug.h>
#include <asn1/asn1.h>
+#include <asn1/pem.h>
#include <asn1/ttodata.h>
#include <credentials/certificates/x509.h>
#include <credentials/certificates/ac.h>
@@
-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;