Skip to content

Commit bfbc641

Browse files
committed
fix filename clash
1 parent 5e0e737 commit bfbc641

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/sha256/SHA256.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#pragma once
1212

13-
#include "sha256.h"
13+
#include "sha2.h"
1414

1515
class SHA256 {
1616

src/sha256/sha256.c renamed to src/sha256/sha2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define UNROLL_LOOPS /* Enable loops unrolling */
3535
#endif
3636

37-
#include "sha256.h"
37+
#include "sha2.h"
3838

3939
#define SHFR(x, n) (x >> n)
4040
#define ROTR(x, n) ((x >> n) | (x << ((sizeof (x) << 3) - n)))

src/sha256/sha256.h renamed to src/sha256/sha2.h

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
#include <stdint.h>
3737
#include <stddef.h>
38+
#include <string.h>
3839

3940
#define SHA256_DIGEST_SIZE ( 256 / 8)
4041
#define SHA256_BLOCK_SIZE ( 512 / 8)

0 commit comments

Comments
 (0)