Skip to content

Commit

Permalink
digest_auth: fix # escaping in Makefile
Browse files Browse the repository at this point in the history
Fix bogus parsing of makefile; completes d92607f
  • Loading branch information
razvancrainea committed Sep 21, 2023
1 parent d92607f commit d1c8a47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/digest_auth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ LIBS=

CPP_CMD?=cpp

SHA_256_SUPPORT:= $(shell bash -c "echo -e '#define SHA256_Init(x) \
_TEST_P_A_S_S_E_D_()\n#include <openssl/sha.h>\n' \
SHA_256_SUPPORT:= $(shell bash -c "echo -e '\x23define SHA256_Init(x) \
_TEST_P_A_S_S_E_D_()\n\x23include <openssl/sha.h>\n' \
| $(CPP_CMD) $(DEFS) 2>/dev/null | grep -q _TEST_P_A_S_S_E_D_ && echo yes")

SHA_512_256_SUPPORT:= $(shell bash -c "echo -e '#define EVP_sha512_256(x) \
_TEST_P_A_S_S_E_D_()\n#include <openssl/evp.h>\n' \
SHA_512_256_SUPPORT:= $(shell bash -c "echo -e '\x23define EVP_sha512_256(x) \
_TEST_P_A_S_S_E_D_()\n\x23include <openssl/evp.h>\n' \
| $(CPP_CMD) $(DEFS) 2>/dev/null | grep -q _TEST_P_A_S_S_E_D_ && echo yes")


Expand Down

0 comments on commit d1c8a47

Please sign in to comment.