1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-18 20:40:03 +02:00

include/libantelope/internal/hash.hpp: don't include OpenSSL headers here. instead we declare the state variables as plain arrays.

This commit is contained in:
Henrik Hautakoski 2023-05-31 10:47:44 +02:00
parent 84645175c1
commit e0d0bcb0cb

View file

@ -29,13 +29,10 @@
#ifdef LIBANTELOPE_HASHIMPL_OPENSSL #ifdef LIBANTELOPE_HASHIMPL_OPENSSL
#include <openssl/sha.h>
#include <openssl/ripemd.h>
namespace libantelope { namespace internal { namespace libantelope { namespace internal {
typedef SHA256_CTX sha256_state; typedef unsigned char sha256_state[112];
typedef RIPEMD160_CTX ripemd160_state; typedef unsigned char ripemd160_state[96];
} } // namespace libantelope::internal } } // namespace libantelope::internal
#else #else