mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
Revert "Use BIO* in _privatekey_from_file [Oliver Stöneberg]"
This reverts commit da8356b477.
This commit is contained in:
@@ -890,6 +890,8 @@ ssh_private_key _privatekey_from_file(void *session, const char *filename,
|
|||||||
ssh_set_error(session, SSH_FATAL,
|
ssh_set_error(session, SSH_FATAL,
|
||||||
"Parsing private key %s: %s",
|
"Parsing private key %s: %s",
|
||||||
filename, ERR_error_string(ERR_get_error(), NULL));
|
filename, ERR_error_string(ERR_get_error(), NULL));
|
||||||
|
#else
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@@ -911,6 +913,8 @@ ssh_private_key _privatekey_from_file(void *session, const char *filename,
|
|||||||
ssh_set_error(session, SSH_FATAL,
|
ssh_set_error(session, SSH_FATAL,
|
||||||
"Parsing private key %s: %s",
|
"Parsing private key %s: %s",
|
||||||
filename, ERR_error_string(ERR_get_error(), NULL));
|
filename, ERR_error_string(ERR_get_error(), NULL));
|
||||||
|
#else
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user