summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-11-02 18:43:59 +0200
committerGravatar Uko Kokņevičs2024-11-02 18:43:59 +0200
commite7c03bf75a213da6606ccabad79d2d9029aa2643 (patch)
treee04ec906f8f86385bccd560d097b9e620f4b46c2
parentSet up default font (diff)
downloademacs.d-e7c03bf75a213da6606ccabad79d2d9029aa2643.tar.gz
emacs.d-e7c03bf75a213da6606ccabad79d2d9029aa2643.tar.xz
emacs.d-e7c03bf75a213da6606ccabad79d2d9029aa2643.zip
Reorder gnutls-algorithm-priority setting
Diffstat (limited to '')
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index 1de96fd..ed8b35f 100644
--- a/init.el
+++ b/init.el
@@ -51,8 +51,8 @@
51 "gnutls-cli -p %p --dh-bits=3072 --ocsp --x509cafile=%t --strict-tofu --priority='SECURE128:+SECURE192:-VERS-ALL:+VERS-TLS1.2:+VERS-TLS1.3' %h" 51 "gnutls-cli -p %p --dh-bits=3072 --ocsp --x509cafile=%t --strict-tofu --priority='SECURE128:+SECURE192:-VERS-ALL:+VERS-TLS1.2:+VERS-TLS1.3' %h"
52 "gnutls-cli -p %p %h")) 52 "gnutls-cli -p %p %h"))
53 53
54(setq gnutls-algorithm-priority 54(when (boundp 'libgnutls-version)
55 (when (boundp 'libgnutls-version) 55 (setq gnutls-algorithm-priority
56 (concat "SECURE128:+SECURE192:-VERS-ALL" 56 (concat "SECURE128:+SECURE192:-VERS-ALL"
57 (if (and (not +windows+) 57 (if (and (not +windows+)
58 (>= libgnutls-version 30605)) 58 (>= libgnutls-version 30605))