|
From: | Noam Postavsky |
Subject: | bug#19479: Package manager vulnerable |
Date: | Mon, 07 Sep 2020 10:14:52 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
Stefan Kangas <stefan@marxist.se> writes: >> Is this a function (rather than a variable) just so it can be in the >> same cl-flet* as do-check? > > I'm not sure I understand; it should be a function instead of a variable > because there is logic in there to match `(secure-hash-algorithms)' > against `(package-desc-checksums pkg-desc)' and signal an error. Ah, I think had forgotten about/was confused by cl-flet's (FUNC (lambda ARGLIST ...)) syntax when I wrote that. Although I suppose you could make it a plain variable by moving it inside do-check's lambda (not sure if that's an improvement)?
[Prev in Thread] | Current Thread | [Next in Thread] |