Fix to stop all.sh corrupting config.h

The test script all.sh was persisting the SSL3 configuration in config.h
through more tests than intended and not restoring the config the end.
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 467f22a..1cc8256 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -133,6 +133,7 @@
 
 msg "build: Default + SSLv3 (ASan build)" # ~ 6 min
 cleanup
+cp "$CONFIG_H" "$CONFIG_BAK"
 scripts/config.pl set MBEDTLS_SSL_PROTO_SSL3
 CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
 make
@@ -149,7 +150,6 @@
 
 msg "build: cmake, full config, clang" # ~ 50s
 cleanup
-cp "$CONFIG_H" "$CONFIG_BAK"
 scripts/config.pl full
 scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
 CC=clang cmake -D CMAKE_BUILD_TYPE:String=Check .