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>
This commit is contained in:
Nikos Mavrogiannopoulos
2018-04-13 10:23:04 +02:00
committed by Andreas Schneider
parent f3a19d8c96
commit a95bc8a016

View File

@@ -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 */