]> code.delx.au - gnu-emacs/commitdiff
; Improve commentary in sysdep.c
authorEli Zaretskii <eliz@gnu.org>
Sat, 23 Jan 2016 06:27:16 +0000 (08:27 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 23 Jan 2016 06:27:16 +0000 (08:27 +0200)
* src/sysdep.c: Explain in a comment why on Windows we don't load
GnuTLS during startup for calling gnutls_rnd.  (Bug#22202)

src/sysdep.c

index d3e271b9dff30eb674d8ed28323b0e218973ee3b..3c3da0d5d7b90b8f7c6415a4102fffcdea4245f1 100644 (file)
@@ -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