Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: net/data/ssl/scripts/generate-policy-certs.sh

Issue 1066613002: Revert of Don't process HSTS/HPKP headers when host is an IP address (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/data/ssl/scripts/generate-cross-signed-certs.sh ('k') | net/data/ssl/scripts/generate-test-certs.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/ssl/scripts/generate-policy-certs.sh
diff --git a/net/data/ssl/scripts/generate-policy-certs.sh b/net/data/ssl/scripts/generate-policy-certs.sh
index bef21f4bfc191006bd63d4ca2ca71356ca9de654..5507d5b13990b4d41af595441c45e886c2745b63 100755
--- a/net/data/ssl/scripts/generate-policy-certs.sh
+++ b/net/data/ssl/scripts/generate-policy-certs.sh
@@ -11,7 +11,8 @@
# When validating, supplying no policy OID should not result in an error.
try() {
- "$@" || (e=$?; echo "$@" > /dev/stderr; exit $e)
+ echo "$@"
+ "$@" || exit 1
}
try rm -rf out
« no previous file with comments | « net/data/ssl/scripts/generate-cross-signed-certs.sh ('k') | net/data/ssl/scripts/generate-test-certs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698