Blame SOURCES/0005-tang-dump-url-on-error-communication.patch

cee3b6
--- clevis-18.ori/src/pins/tang/clevis-decrypt-tang	2021-04-15 13:00:19.969067600 +0200
cee3b6
+++ clevis-18/src/pins/tang/clevis-decrypt-tang	2022-01-20 17:29:21.859897964 +0100
cee3b6
@@ -99,10 +99,10 @@
cee3b6
 
cee3b6
 xfr="$(jose jwk exc -i '{"alg":"ECMR"}' -l- -r- <<< "$clt$eph")"
cee3b6
 
cee3b6
-url="$url/rec/$kid"
cee3b6
+rec_url="$url/rec/$kid"
cee3b6
 ct="Content-Type: application/jwk+json"
cee3b6
-if ! rep="$(curl -sfg -X POST -H "$ct" --data-binary @- "$url" <<< "$xfr")"; then
cee3b6
-    echo "Error communicating with the server!" >&2
cee3b6
+if ! rep="$(curl -sfg -X POST -H "$ct" --data-binary @- "$rec_url" <<< "$xfr")"; then
cee3b6
+    echo "Error communicating with the server $url" >&2
cee3b6
     exit 1
cee3b6
 fi
cee3b6