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

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