mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
narinfo: Fix misleading docstring.
The misleading docstring had been here from the start, in commit
cdea30e061
.
* guix/narinfo.scm (valid-narinfo?): Fix docstring.
This commit is contained in:
parent
20fbc0bb08
commit
95e06bc3e1
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014 Nikita Karetnikov <nikita@karetnikov.org>
|
||||
;;; Copyright © 2018 Kyle Meyer <kyle@kyleam.com>
|
||||
;;;
|
||||
|
@ -209,7 +209,8 @@ (define %mandatory-fields
|
|||
|
||||
(define* (valid-narinfo? narinfo #:optional (acl (current-acl))
|
||||
#:key verbose?)
|
||||
"Return #t if NARINFO's signature is not valid."
|
||||
"Return #t if NARINFO's signature is valid and made by one of the keys in
|
||||
ACL."
|
||||
(let ((hash (narinfo-sha256 narinfo))
|
||||
(signature (narinfo-signature narinfo))
|
||||
(uri (uri->string (first (narinfo-uris narinfo)))))
|
||||
|
|
Loading…
Reference in a new issue