diff --git a/ports/umurmur.hash b/ports/umurmur.hash index a70c6b760..e661ed724 100644 --- a/ports/umurmur.hash +++ b/ports/umurmur.hash @@ -1 +1 @@ -a194b75e385ebbd429835056c75917373be5b4e1 +73d24387365c4cc868cc4026d9c88f83b3565bc5 diff --git a/ports/umurmur.port b/ports/umurmur.port index c587c9745..850273971 100644 --- a/ports/umurmur.port +++ b/ports/umurmur.port @@ -7,4 +7,5 @@ SHA(umurmur) := e77b7b6616768f4a1c07442afe49a772692f667b00c23cc85909d4dd0ce206d2 DIR(umurmur) := src/app/umurmur PATCHES := src/app/umurmur/umurmur.patch +PATCHES := src/app/umurmur/openssl3.patch PATCH_OPT := -p1 -d src/app/umurmur diff --git a/run/umurmur.run b/run/umurmur.run index c69a1f685..9415b0004 100644 --- a/run/umurmur.run +++ b/run/umurmur.run @@ -11,6 +11,7 @@ import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/libc \ [depot_user]/src/openssl \ [depot_user]/src/posix \ + [depot_user]/src/nic_router \ [depot_user]/src/vfs_lwip \ [depot_user]/src/vfs @@ -30,30 +31,59 @@ install_config { + - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + 2018-09-24 00:00 - 012345678 + g0Kof/YMRG8NLASiukpI6f5QQinTPyOpzkreUXr3HCMiRVpn14GkiyQ0ezrN2KAK diff --git a/src/app/umurmur/openssl3.patch b/src/app/umurmur/openssl3.patch new file mode 100644 index 000000000..3ac0a5eae --- /dev/null +++ b/src/app/umurmur/openssl3.patch @@ -0,0 +1,14 @@ +diff --git a/src/ssli_openssl.c b/src/ssli_openssl.c +index 8ff1bcf..872ddf9 100644 +--- a/src/ssli_openssl.c ++++ b/src/ssli_openssl.c +@@ -167,9 +167,6 @@ static void SSL_initializeCert() { + if (!rsa || !did_load_cert) { + Log_info("Generating new server certificate."); + +- +- CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON); +- + x509 = X509_new(); + pkey = EVP_PKEY_new(); + rsa = RSA_generate_key(4096,RSA_F4,NULL,NULL); diff --git a/src/app/umurmur/target.mk b/src/app/umurmur/target.mk index 1ae479447..be4d88e05 100644 --- a/src/app/umurmur/target.mk +++ b/src/app/umurmur/target.mk @@ -25,6 +25,7 @@ SRC_C += dummy.c INC_DIR += $(UMURMUR_DIR) $(PRG_DIR) +CC_C_OPT += -DCRYPTO_MEM_CHECK_ON=0x1 LIBS += libc libcrypto libssl protobuf-c libconfig posix vpath %.c $(UMURMUR_DIR)