mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
authenticate: Add compatibility hack for Guile 2.0.5.
* guix/scripts/authenticate.scm (%default-port-conversion-strategy): New variable. Reported by Andreas Enge <andreas@enge.fr>.
This commit is contained in:
parent
d0281fec03
commit
4cca91832b
1 changed files with 7 additions and 0 deletions
|
@ -81,6 +81,13 @@ (define (validate-signature port)
|
|||
(canonical-sexp->string subject)))
|
||||
(leave (_ "error: corrupt signature data: ~a~%")
|
||||
(canonical-sexp->string signature)))))
|
||||
|
||||
(define %default-port-conversion-strategy
|
||||
;; This fluid is in Guile > 2.0.5.
|
||||
(if (defined? '%default-port-conversion-strategy)
|
||||
(@ (guile) %default-port-conversion-strategy)
|
||||
(make-fluid #f)))
|
||||
|
||||
|
||||
;;;
|
||||
;;; Entry point with 'openssl'-compatible interface. We support this
|
||||
|
|
Loading…
Reference in a new issue