aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/rsa/rsa_private_key.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-10-31 12:27:59 +0000
committerMartin Willi <martin@strongswan.org>2006-10-31 12:27:59 +0000
commitdb7ef62494fb6859df150e2b06b3ca91881d95af (patch)
treebd8d6e7e72ba0f27d9b34fa803d61eb243736208 /src/libstrongswan/crypto/rsa/rsa_private_key.c
parentde8b8a8c44c87130a2a5120a4c07262fa6806f6b (diff)
downloadstrongswan-db7ef62494fb6859df150e2b06b3ca91881d95af.tar.bz2
strongswan-db7ef62494fb6859df150e2b06b3ca91881d95af.tar.xz
better split up of library files "types.h" & "definitions.h"
centralized all printf specifier character definitions reuse of arginfo handlers more cleanups fixed more AMD64 issues added DEBUG_LEVEL compile flag to exclude DBGn() statements
Diffstat (limited to 'src/libstrongswan/crypto/rsa/rsa_private_key.c')
-rw-r--r--src/libstrongswan/crypto/rsa/rsa_private_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/rsa/rsa_private_key.c b/src/libstrongswan/crypto/rsa/rsa_private_key.c
index 8dfced51d..5b1647965 100644
--- a/src/libstrongswan/crypto/rsa/rsa_private_key.c
+++ b/src/libstrongswan/crypto/rsa/rsa_private_key.c
@@ -762,7 +762,7 @@ rsa_private_key_t *rsa_private_key_create_from_chunk(chunk_t blob)
rsa_private_key_t *rsa_private_key_create_from_file(char *filename, chunk_t *passphrase)
{
bool pgp = FALSE;
- chunk_t chunk = CHUNK_INITIALIZER;
+ chunk_t chunk = chunk_empty;
rsa_private_key_t *key = NULL;
if (!pem_asn1_load_file(filename, passphrase, "private key", &chunk, &pgp))