Use unsigned char consistently for byte arrays
C++ does not allow initialization with string literals but we do it in other places and -fpermissive will convince g++ to compile.
This commit is contained in:
parent
b5b8e7b719
commit
f698caaff6
@ -219,7 +219,7 @@ void test_schnorrsig_api(void) {
|
|||||||
/* Checks that hash initialized by secp256k1_schnorrsig_sha256_tagged has the
|
/* Checks that hash initialized by secp256k1_schnorrsig_sha256_tagged has the
|
||||||
* expected state. */
|
* expected state. */
|
||||||
void test_schnorrsig_sha256_tagged(void) {
|
void test_schnorrsig_sha256_tagged(void) {
|
||||||
char tag[17] = "BIP0340/challenge";
|
unsigned char tag[17] = "BIP0340/challenge";
|
||||||
secp256k1_sha256 sha;
|
secp256k1_sha256 sha;
|
||||||
secp256k1_sha256 sha_optimized;
|
secp256k1_sha256 sha_optimized;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user