mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
crypto: Fix compilation for OpenSSL without deprecated APIs
Added missing bn.h include. Made engine.h include conditional, otherwise it would fail. DSA_generate_parameters was deprecated long before 1.1.0. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Andreas Schneider
parent
aa899f8ec0
commit
61cac32288
@@ -10,6 +10,7 @@
|
||||
#include <openssl/dh.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/hmac.h>
|
||||
#include <openssl/bn.h>
|
||||
|
||||
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
|
||||
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
|
||||
|
||||
Reference in New Issue
Block a user