From 14f00247a82bf5b644c05d3f242d6be17f15e591 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 25 Aug 2005 20:50:37 +0000 Subject: [PATCH] Explicitly include sha.h and md5.h from openssl --- include/libssh2_priv.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/libssh2_priv.h b/include/libssh2_priv.h index ea3ccfd..c8e2582 100644 --- a/include/libssh2_priv.h +++ b/include/libssh2_priv.h @@ -46,6 +46,12 @@ #include #endif #include +#ifndef OPENSSL_NO_SHA +#include +#endif +#ifndef OPENSSL_NO_MD5 +#include +#endif #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))