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:
parent
84645175c1
commit
e0d0bcb0cb
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue