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
|
@ -81,6 +81,13 @@ to stdout upon success."
|
|||
(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 New Issue