keyfiles: Fixed compilation without defines.

This fixes cppcheck issues.
(cherry picked from commit 7f0761885c)
This commit is contained in:
Oliver Stöneberg
2011-05-09 09:26:19 -07:00
committed by Andreas Schneider
parent 8796756ae5
commit c472bd7437

View File

@@ -890,6 +890,8 @@ ssh_private_key _privatekey_from_file(void *session, const char *filename,
ssh_set_error(session, SSH_FATAL,
"Parsing private key %s: %s",
filename, ERR_error_string(ERR_get_error(), NULL));
#else
{
#endif
return NULL;
}
@@ -911,6 +913,8 @@ ssh_private_key _privatekey_from_file(void *session, const char *filename,
ssh_set_error(session, SSH_FATAL,
"Parsing private key %s: %s",
filename, ERR_error_string(ERR_get_error(), NULL));
#else
{
#endif
return NULL;
}