mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-18 12:30:02 +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:
parent
84645175c1
commit
e0d0bcb0cb
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue