fix(rest): gnutls-verify-error: defining as dynamic error
An error results if you let-bind a dynamic variable before it's defined, so I forcibly ensure gnutls-verify-error is defined. Fix: #6073 Close: #6525
This commit is contained in:
parent
1b99805e1b
commit
3d8f9ae5ea
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@
|
||||||
"Forces underlying SSL verification to prompt for self-signed or invalid
|
"Forces underlying SSL verification to prompt for self-signed or invalid
|
||||||
certs, rather than reject them silently."
|
certs, rather than reject them silently."
|
||||||
:around #'restclient-http-do
|
:around #'restclient-http-do
|
||||||
(let (gnutls-verify-error tls-checktrust)
|
(require 'gnutls)
|
||||||
|
(let (gnutls-verify-error)
|
||||||
(apply fn args)))
|
(apply fn args)))
|
||||||
|
|
||||||
(map! :map restclient-mode-map
|
(map! :map restclient-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue