Kaydet (Commit) 86b436d7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

external/openssl: Work around -fsanitize=null

Change-Id: Ic47a1b43323f84971aed9b3cdb2ec83f9e931d6a
üst 8672eca4
......@@ -30,6 +30,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,openssl,\
$(if $(filter SOLARIS,$(OS)),external/openssl/opensslsol.patch) \
$(if $(filter IOS,$(OS)),external/openssl/opensslios.patch) \
$(if $(filter MACOSXPOWERPC,$(OS)$(CPUNAME)),external/openssl/opensslosxppc.patch) \
external/openssl/ubsan.patch.0 \
))
# vim: set noet sw=4 ts=4:
--- crypto/engine/eng_table.c
+++ crypto/engine/eng_table.c
@@ -346,6 +346,6 @@
ENGINE_PILE_DOALL dall;
dall.cb = cb;
dall.arg = arg;
- lh_ENGINE_PILE_doall_arg(&table->piles, LHASH_DOALL_ARG_FN(int_cb),
+ lh_ENGINE_PILE_doall_arg(table ? &table->piles : NULL, LHASH_DOALL_ARG_FN(int_cb),
ENGINE_PILE_DOALL, &dall);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment