Drop the -a flag to fetch. Its retry logic has a bug where it will
go into an endless loop when trying to re-fetch an object behind
an https:// link when it is unable to validate the X.509 certificate
chain.
# access-type.
case "`uname`" in
FreeBSD)
# access-type.
case "`uname`" in
FreeBSD)
- echo "nmh-access-url: fetch -a -o -" >> $TMP
+ echo "nmh-access-url: fetch -o -" >> $TMP
;;
*)
PGM=`$SEARCHPROG "$SEARCHPATH" curl`
;;
*)
PGM=`$SEARCHPROG "$SEARCHPATH" curl`