mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +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>
(cherry picked from commit a95bc8a016)
This commit is contained in:
committed by
Andreas Schneider
parent
4f10d6cd57
commit
bbaa3dc869
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user