aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorTed Zlatanov2011-04-24 20:30:51 -0500
committerTed Zlatanov2011-04-24 20:30:51 -0500
commite061a11b5a59f02fac66184e991f01a433f6dc8d (patch)
treeccff6a6012dbc1ed4ce247b9e4e84a38c5eb34af /src/ChangeLog
parent33630d51504adc5b2a0289f356c0a1a49f0bd10a (diff)
downloademacs-e061a11b5a59f02fac66184e991f01a433f6dc8d.tar.gz
emacs-e061a11b5a59f02fac66184e991f01a433f6dc8d.zip
Add GnuTLS support for W32 and certificate and hostname verification in GnuTLS.
* src/gnutls.c: Renamed global_initialized to gnutls_global_initialized. Added internals for the :verify-hostname-error, :verify-error, and :verify-flags parameters of `gnutls-boot' and documented those parameters in the docstring. Start callback support. (emacs_gnutls_handshake): Add Woe32 support. Retry handshake unless a fatal error occured. Call gnutls_alert_send_appropriate on error. Return error code. (emacs_gnutls_write): Call emacs_gnutls_handle_error. (emacs_gnutls_read): Likewise. (Fgnutls_boot): Return handshake error code. (emacs_gnutls_handle_error): New function. (wsaerror_to_errno): Likewise. * src/gnutls.h: Add GNUTLS_STAGE_CALLBACKS enum to denote we're in the callbacks stage. * src/w32.c (emacs_gnutls_pull): New function for GnuTLS on Woe32. (emacs_gnutls_push): Likewise. * src/w32.h (emacs_gnutls_pull): Add prototype. (emacs_gnutls_push): Likewise.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f1d195c4544..410a3b15ffb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,38 @@
12011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * gnutls.h: Add GNUTLS_STAGE_CALLBACKS enum to denote we're in the
4 callbacks stage.
5
6 * gnutls.c: Renamed global_initialized to
7 gnutls_global_initialized. Added internals for the
8 :verify-hostname-error, :verify-error, and :verify-flags
9 parameters of `gnutls-boot' and documented those parameters in the
10 docstring. Start callback support.
11 (emacs_gnutls_handshake): Add Woe32 support. Retry handshake
12 unless a fatal error occured. Call gnutls_alert_send_appropriate
13 on error. Return error code.
14 (emacs_gnutls_write): Call emacs_gnutls_handle_error.
15 (emacs_gnutls_read): Likewise.
16 (Fgnutls_boot): Return handshake error code.
17 (emacs_gnutls_handle_error): New function.
18 (wsaerror_to_errno): Likewise.
19
20 * w32.h (emacs_gnutls_pull): Add prototype.
21 (emacs_gnutls_push): Likewise.
22
23 * w32.c (emacs_gnutls_pull): New function for GnuTLS on Woe32.
24 (emacs_gnutls_push): Likewise.
25
262011-04-24 Claudio Bley <claudio.bley@gmail.com> (tiny change)
27
28 * process.c (wait_reading_process_output): Check if GnuTLS
29 buffered some data internally if no FDs are set for TLS
30 connections.
31
32 * makefile.w32-in (OBJ2): Add gnutls.$(O).
33 (LIBS): Link to USER_LIBS.
34 ($(BLD)/gnutls.$(0)): New target.
35
12011-04-24 Eli Zaretskii <eliz@gnu.org> 362011-04-24 Eli Zaretskii <eliz@gnu.org>
2 37
3 * xdisp.c (handle_single_display_spec): Rename the 38 * xdisp.c (handle_single_display_spec): Rename the