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

9742fa
--- clevis-15-ori/src/pins/tang/clevis-decrypt-tang	2020-10-28 19:55:47.673228700 +0100
9742fa
+++ clevis-15/src/pins/tang/clevis-decrypt-tang	2022-01-21 10:37:40.327825491 +0100
9742fa
@@ -73,10 +73,10 @@
9742fa
 
9742fa
 xfr="$(jose jwk exc -i '{"alg":"ECMR"}' -l- -r- <<< "$clt$eph")"
9742fa
 
9742fa
-url="$url/rec/$kid"
9742fa
+rec_url="$url/rec/$kid"
9742fa
 ct="Content-Type: application/jwk+json"
9742fa
-if ! rep="$(curl -sfg -X POST -H "$ct" --data-binary @- "$url" <<< "$xfr")"; then
9742fa
-    echo "Error communicating with the server!" >&2
9742fa
+if ! rep="$(curl -sfg -X POST -H "$ct" --data-binary @- "$rec_url" <<< "$xfr")"; then
9742fa
+    echo "Error communicating with the server $url" >&2
9742fa
     exit 1
9742fa
 fi
9742fa