Fix SRP memory leaks
[openssl.git] / Makefile.org
index 10da64481e5d623b85ade149da905824786ad699..c56aa8648aaceca425dae2233b583f4ed2fb3906 100644 (file)
@@ -428,7 +428,7 @@ rehash.time: certs apps
                [ -x "apps/openssl.exe" ] && OPENSSL="apps/openssl.exe" || :; \
                OPENSSL_DEBUG_MEMORY=on; OPENSSL_CONF=/dev/null ; \
                export OPENSSL OPENSSL_DEBUG_MEMORY OPENSSL_CONF; \
-               $(PERL) tools/c_rehash certs/demo) && \
+               $$OPENSSL rehash certs/demo) && \
                touch rehash.time; \
        else :; fi
 
@@ -439,6 +439,10 @@ tests: rehash
        $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. TESTS='$(TESTS)' OPENSSL_DEBUG_MEMORY=on OPENSSL_CONF=../apps/openssl.cnf tests );
        OPENSSL_CONF=apps/openssl.cnf util/opensslwrap.sh version -a
 
+list-tests:
+       @(cd test && \
+               $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. list-tests)
+
 report:
        @$(PERL) util/selftest.pl
 
@@ -482,7 +486,7 @@ TABLE: Configure Configurations/*.conf
 # and read directly, requiring GNU-Tar. Call "make TAR=gtar dist" if the normal
 # tar does not support the --files-from option.
 TAR_COMMAND=$(TAR) $(TARFLAGS) --files-from ../$(TARFILE).list \
-                              --owner openssl --group openssl \
+                              --owner openssl:0 --group openssl:0 \
                               --transform 's|^|openssl-$(VERSION)/|' \
                               -cvf -