mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
4c8cdcd1cf
This demo optionally accepts a single command line argument, allowing the output length to be specified. Fixes #14106. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17803)
24 lines
440 B
Makefile
24 lines
440 B
Makefile
#
|
|
# To run the demos when linked with a shared library (default):
|
|
#
|
|
# LD_LIBRARY_PATH=../.. ./EVP_MD_demo
|
|
|
|
CFLAGS = -I../../include -g -Wall
|
|
LDFLAGS = -L../..
|
|
LDLIBS = -lcrypto
|
|
|
|
all: EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
EVP_MD_demo: EVP_MD_demo.o
|
|
EVP_MD_stdin: EVP_MD_stdin.o
|
|
EVP_MD_xof: EVP_MD_xof.o
|
|
BIO_f_md: BIO_f_md.o
|
|
|
|
test: ;
|
|
|
|
clean:
|
|
$(RM) *.o EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
|