diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pluto/keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/keys.c b/src/pluto/keys.c index ad60c7601..516872e8e 100644 --- a/src/pluto/keys.c +++ b/src/pluto/keys.c @@ -552,7 +552,7 @@ static err_t process_keyfile(private_key_t **key, key_type_t type, int whackfd) } *key = load_private_key(filename, &pass, type); - return key ? NULL : "Private key file -- could not be loaded"; + return *key ? NULL : "Private key file -- could not be loaded"; } /** |