mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
Merge branch 'compiler-warnings' into develop
This commit is contained in:
parent
2b20f8aaf4
commit
2d1696a0e4
7 changed files with 24 additions and 16 deletions
|
|
@ -26,13 +26,13 @@
|
|||
#include <cstring>
|
||||
#include "checksum.h"
|
||||
|
||||
inline void sha256d(const unsigned char *data, unsigned int len, unsigned char *out) {
|
||||
inline void sha256d(const unsigned char *data, std::size_t len, unsigned char *out) {
|
||||
SHA256(data, len, out);
|
||||
SHA256(out, 32, out);
|
||||
}
|
||||
|
||||
#define checksum_impl(name, func) \
|
||||
checksum_t checksum_##name(const unsigned char *data, unsigned int len) { \
|
||||
checksum_t checksum_##name(const unsigned char *data, std::size_t len) { \
|
||||
\
|
||||
checksum_t crc; \
|
||||
unsigned char hash[32]; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue