version 1.59, 2019/09/06 04:53:27 |
version 1.60, 2019/09/06 05:23:55 |
|
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
|
#ifdef WITH_OPENSSL |
#include <openssl/evp.h> |
#include <openssl/evp.h> |
#include <openssl/rsa.h> |
#endif |
|
|
#include <fcntl.h> |
#include <fcntl.h> |
#include <paths.h> |
#include <paths.h> |
|
|
if (found == 0) |
if (found == 0) |
fatal("could not open any host key"); |
fatal("could not open any host key"); |
|
|
|
#ifdef WITH_OPENSSL |
OpenSSL_add_all_algorithms(); |
OpenSSL_add_all_algorithms(); |
|
#endif |
found = 0; |
found = 0; |
for (i = 0; i < NUM_KEYTYPES; i++) { |
for (i = 0; i < NUM_KEYTYPES; i++) { |
keys[i] = NULL; |
keys[i] = NULL; |