1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 03:34:56 +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
#include <openssl/sha.h>
#include <openssl/ripemd.h>
namespace libantelope { namespace internal {
typedef SHA256_CTX sha256_state;
typedef RIPEMD160_CTX ripemd160_state;
typedef unsigned char sha256_state[112];
typedef unsigned char ripemd160_state[96];
} } // namespace libantelope::internal
#else