Explicitly include sha.h and md5.h from openssl
This commit is contained in:
parent
78048973c5
commit
14f00247a8
@ -46,6 +46,12 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
#ifndef OPENSSL_NO_SHA
|
||||||
|
#include <openssl/sha.h>
|
||||||
|
#endif
|
||||||
|
#ifndef OPENSSL_NO_MD5
|
||||||
|
#include <openssl/md5.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define LIBSSH2_ALLOC(session, count) session->alloc((count), &(session)->abstract)
|
#define LIBSSH2_ALLOC(session, count) session->alloc((count), &(session)->abstract)
|
||||||
#define LIBSSH2_REALLOC(session, ptr, count) ((ptr) ? session->realloc((ptr), (count), &(session)->abstract) : session->alloc((count), &(session)->abstract))
|
#define LIBSSH2_REALLOC(session, ptr, count) ((ptr) ? session->realloc((ptr), (count), &(session)->abstract) : session->alloc((count), &(session)->abstract))
|
||||||
|
Loading…
Reference in New Issue
Block a user