diff options
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 9aea7506ae..c7e5d4587f 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -460,7 +460,7 @@ crypto_pk_read_private_key_from_filename(crypto_pk_env_t *env, int r; /* Read the file into a string. */ - contents = read_file_to_str(keyfile, 0); + contents = read_file_to_str(keyfile, 0, NULL); if (!contents) { log_warn(LD_CRYPTO, "Error reading private key from \"%s\"", keyfile); return -1; |