diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-04-13 10:23:04 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-04-17 18:00:52 +0200 |
commit | a95bc8a0163625ac551d8d73bec08a15aba658ad (patch) | |
tree | 47cf54f9f920fc4d5d4390dca3ad96a880614b4c | |
parent | f3a19d8c963a0510ca67a5292436ac5c40c8e788 (diff) | |
download | libssh-a95bc8a0163625ac551d8d73bec08a15aba658ad.tar.gz libssh-a95bc8a0163625ac551d8d73bec08a15aba658ad.tar.xz libssh-a95bc8a0163625ac551d8d73bec08a15aba658ad.zip |
kex1: Use libcrypto-compat.h for RSA_get0_key with OpenSSL
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | src/kex1.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,10 @@ #include "libssh/wrapper.h" #include "libssh/dh.h" +#if defined(HAVE_LIBCRYPTO) +#include "libcrypto-compat.h" +#endif + /* SSHv1 functions */ /* makes a STRING contating 3 strings : ssh-rsa1,e and n */ |