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

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