diff options
| author | Paul Eggert | 2016-01-17 17:16:12 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-17 17:17:01 -0800 |
| commit | 130d512045aa376333b664d58c501b3884187592 (patch) | |
| tree | fe7b2fa10229b204eeb16aa34d0191864caf9e70 /src/bytecode.c | |
| parent | 0f3ea5e172e584875fa5808322af8a7c75503f7b (diff) | |
| download | emacs-130d512045aa376333b664d58c501b3884187592.tar.gz emacs-130d512045aa376333b664d58c501b3884187592.zip | |
Initialize GnuTLS before calling gnutls_rnd
* src/gnutls.c (emacs_gnutls_global_init): Now extern.
Don’t set gnutls_global_initialized if gnutls_global_init fails.
* src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
if 2.12 or later, which has gnutls_rnd.
(emacs_gnutls_global_init, gnutls_rnd): New fallback
placeholder macros if before 2.12.
(init_random): Initialize gnutls globals before trying to
use gnutls_rnd.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions