Skip to content

Commit

Permalink
Renaming random.h to examples_util.h
Browse files Browse the repository at this point in the history
Signed-off-by: Harshil Jani <[email protected]>
  • Loading branch information
Harshil-Jani committed Mar 1, 2023
1 parent 51ff9bd commit 403138a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ noinst_HEADERS += contrib/lax_der_parsing.h
noinst_HEADERS += contrib/lax_der_parsing.c
noinst_HEADERS += contrib/lax_der_privatekey_parsing.h
noinst_HEADERS += contrib/lax_der_privatekey_parsing.c
noinst_HEADERS += examples/random.h
noinst_HEADERS += examples/examples_util.h

PRECOMPUTED_LIB = libsecp256k1_precomputed.la
noinst_LTLIBRARIES = $(PRECOMPUTED_LIB)
Expand Down
2 changes: 1 addition & 1 deletion examples/ecdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <secp256k1.h>
#include <secp256k1_ecdh.h>

#include "random.h"
#include "examples_util.h"

int main(void) {
unsigned char seckey1[32];
Expand Down
2 changes: 1 addition & 1 deletion examples/ecdsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <secp256k1.h>

#include "random.h"
#include "examples_util.h"

int main(void) {
/* Instead of signing the message directly, we must sign a 32-byte hash.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/schnorr.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <secp256k1_extrakeys.h>
#include <secp256k1_schnorrsig.h>

#include "random.h"
#include "examples_util.h"

int main(void) {
unsigned char msg[12] = "Hello World!";
Expand Down

0 comments on commit 403138a

Please sign in to comment.