diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-04-13 10:23:04 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-29 17:17:03 +0200 |
commit | bbaa3dc869ae6ace8e1c9257b26a3608d164f938 (patch) | |
tree | bdb42f85be7151b6c250ee27252e621de1deadc8 | |
parent | 4f10d6cd5769e30e0df597fb0dd029541ca006be (diff) | |
download | libssh-bbaa3dc869ae6ace8e1c9257b26a3608d164f938.tar.gz libssh-bbaa3dc869ae6ace8e1c9257b26a3608d164f938.tar.xz libssh-bbaa3dc869ae6ace8e1c9257b26a3608d164f938.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>
(cherry picked from commit a95bc8a0163625ac551d8d73bec08a15aba658ad)
-rw-r--r-- | src/kex1.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,10 @@ #include "libssh/ssh1.h" #include "libssh/wrapper.h" +#if defined(HAVE_LIBCRYPTO) +#include "libcrypto-compat.h" +#endif + /* SSHv1 functions */ /* makes a STRING contating 3 strings : ssh-rsa1,e and n */ |