mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -14,7 +14,8 @@
|
||||
"Forces underlying SSL verification to prompt for self-signed or invalid
|
||||
certs, rather than reject them silently."
|
||||
:around #'restclient-http-do
|
||||
(let (gnutls-verify-error tls-checktrust)
|
||||
(require 'gnutls)
|
||||
(let (gnutls-verify-error)
|
||||
(apply fn args)))
|
||||
|
||||
(map! :map restclient-mode-map
|
||||
|
Reference in New Issue
Block a user