aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/chacha20.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-09-23 10:48:47 +0100
committerfanquake <fanquake@gmail.com>2022-09-23 10:48:47 +0100
commita63d4cb26a2830b297288aa6acf5b69108353334 (patch)
tree0c1428b8652ee7f616b8fff83a079bc5b98e778d /src/crypto/chacha20.h
parent100949af0e2551f22c02a73355f2c64710b68ef1 (diff)
refactor: use <cstdlib> over stdlib.h
We currently use both. Consolidate on the former.
Diffstat (limited to 'src/crypto/chacha20.h')
-rw-r--r--src/crypto/chacha20.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/chacha20.h b/src/crypto/chacha20.h
index 69fbbe9fa5..de16a77878 100644
--- a/src/crypto/chacha20.h
+++ b/src/crypto/chacha20.h
@@ -5,8 +5,8 @@
#ifndef BITCOIN_CRYPTO_CHACHA20_H
#define BITCOIN_CRYPTO_CHACHA20_H
+#include <cstdlib>
#include <stdint.h>
-#include <stdlib.h>
/** A class for ChaCha20 256-bit stream cipher developed by Daniel J. Bernstein
https://cr.yp.to/chacha/chacha-20080128.pdf */