Skip to content

Commit ea4be40

Browse files
liviuchircurazvancrainea
authored andcommitted
stir_shaken: Fix OpenSSL vs. WolfSSL detection
This fixes the RedHat build, where there is no WolfSSL available.
1 parent 528dd48 commit ea4be40

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

modules/stir_shaken/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ auto_gen=
77
NAME=stir_shaken.so
88

99
ifneq ($(STIR_SHAKEN_OPENSSL),)
10+
ifeq ($(findstring STIR_SHAKEN_OPENSSL, $(DEFS)),)
11+
DEFS += -DSTIR_SHAKEN_OPENSSL
12+
endif
13+
endif
14+
15+
ifneq ($(findstring STIR_SHAKEN_OPENSSL, $(DEFS)),)
1016
USE_ONLY_CRYPTO=true
1117
include ../../Makefile.openssl
1218
else

0 commit comments

Comments
 (0)