mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
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:
committed by
Andreas Schneider
parent
f3a19d8c96
commit
a95bc8a016
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user