summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-23 08:27:16 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-23 08:27:16 +0200
commit0275e7ba6ee76f56ab199f006d978e37e3715610 (patch)
treece34191dfa749d4ff30849520994569cd809feed /src/sysdep.c
parent27a0919cde7a6dce93aeba63b5ce7d0834f48531 (diff)
downloademacs-0275e7ba6ee76f56ab199f006d978e37e3715610.tar.gz
; Improve commentary in sysdep.c
* src/sysdep.c: Explain in a comment why on Windows we don't load GnuTLS during startup for calling gnutls_rnd. (Bug#22202)
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index d3e271b9dff..3c3da0d5d7b 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -100,6 +100,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "cm.h"
#include "gnutls.h"
+/* MS-Windows loads GnuTLS at run time, if available; we don't want to
+ do that during startup just to call gnutls_rnd. */
#if 0x020c00 <= GNUTLS_VERSION_NUMBER && !defined WINDOWSNT
# include <gnutls/crypto.h>
#else