diff options
author | Oliver Stöneberg <oliverst@online.de> | 2011-05-02 09:46:44 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-05-17 21:00:02 +0200 |
commit | fd61eda16d081f30fdca97c97d71381d255d46d4 (patch) | |
tree | 6a22f72186f27d304c9892c9e1e7c25eea92ffa1 | |
parent | a6dda5fefdca6f39b7f90ee0e8ba3cfc9bae7345 (diff) | |
download | libssh-fd61eda16d081f30fdca97c97d71381d255d46d4.tar.gz libssh-fd61eda16d081f30fdca97c97d71381d255d46d4.tar.xz libssh-fd61eda16d081f30fdca97c97d71381d255d46d4.zip |
keyfiles: Move FILE* into HAVE_LIBGCRYPT code.
(cherry picked from commit c7c563eb8ad01ab5750b5ea4e72031ebd298651c)
-rw-r--r-- | src/keyfiles.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/keyfiles.c b/src/keyfiles.c index 1c5c34db..77910ed0 100644 --- a/src/keyfiles.c +++ b/src/keyfiles.c @@ -872,15 +872,6 @@ ssh_private_key _privatekey_from_file(void *session, const char *filename, } #endif -#ifdef HAVE_LIBCRYPTO - bio = BIO_new_file(filename,"r"); - if (bio == NULL) { - fclose(file); - ssh_set_error(session, SSH_FATAL, "Could not create BIO."); - return NULL; - } -#endif - switch (type) { case SSH_KEYTYPE_DSS: #ifdef HAVE_LIBGCRYPT |