Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5814:a216b3c2b09e
Add TLS support. See xemacs-patches message with ID
<CAHCOHQk6FNm2xf=XiGEpPq43+7WOzNZ=SuD9V79o3wb9WVCTrQ@mail.gmail.com>.
| author | Jerry James <james@xemacs.org> |
|---|---|
| date | Tue, 07 Oct 2014 21:16:10 -0600 |
| parents | 36dddf9d90d1 |
| children | d59bfb050ca8 |
comparison
equal
deleted
inserted
replaced
| 5813:36dddf9d90d1 | 5814:a216b3c2b09e |
|---|---|
| 1 2014-10-07 Jerry James <james@xemacs.org> | |
| 2 | |
| 3 * Makefile.in.in: Add tls.o to the link. | |
| 4 * config.h.in: Add TLS symbols (WITH_TLS, etc.). | |
| 5 * emacs.c (main_1): Call new functions in tls.c. | |
| 6 * events.h (STREAM_USE_TLS): New macro. | |
| 7 * lisp.h (Ffill): Export for nss_pk11_password. | |
| 8 * lstream.c (Lstream_tls_p): New function. | |
| 9 (Lstream_tls_negotiate): New function. | |
| 10 (struct filedesc_stream): Add tls_state member. | |
| 11 (make_filedesc_stream_1): Add state parameter. Use tls_get_fd. | |
| 12 (make_filedesc_input_stream): Add state parameter. | |
| 13 (make_filedesc_output_stream): Ditto. | |
| 14 (filedesc_reader): Use tls_read if tls_state is non-null. | |
| 15 (filedesc_writer): Use tls_write if tls_state is non-null. | |
| 16 (filedesc_closer): Use tls_close if tls_state is non-null. | |
| 17 (filedesc_tls_p): New function. | |
| 18 (fildesc_tls_negotiater): New function. | |
| 19 * lstream.h (Lstream_implementation): Add tls_p and tls_negotiater | |
| 20 members. | |
| 21 * process-nt.c (nt_open_network_stream): Add tls parameter. | |
| 22 * process-unix.c (unix_open_network_stream): Ditto. Call TLS | |
| 23 functions to set up the socket, if requested. | |
| 24 * process.c (tls_connection_p): New function. | |
| 25 (print_process): Use it. | |
| 26 (Fopen_network_stream_internal): Add optional tls argument. | |
| 27 (Ftls_negotiate): New function. | |
| 28 * tls.c: New file, with NSS, gnutls, and OpenSSL implementations. | |
| 29 * tls.h: New file. | |
| 30 | |
| 31 * console-tty.c (tty_init_console): | |
| 32 * doc.c (extract_object_file_name): | |
| 33 (unparesseuxify_doc_string): | |
| 34 * event-stream.c (Fopen_dribble_file): | |
| 35 * event-unixoid.c (event_stream_unixoid_create_io_streams): | |
| 36 * file-coding.c (Ffind_coding_system_magic_cookie_in_file): | |
| 37 * fileio.c (Finsert_file_contents_internal): | |
| 38 (Fwrite_region_internal): | |
| 39 * gpmevent.c (tty_get_foreign_selection): | |
| 40 * lread.c (Fload_internal): Supply new tls arg to | |
| 41 make_filedesc_input_stream and make_filedesc_output_stream. | |
| 42 | |
| 1 2014-09-30 Marcus Crestani <crestani@informatik.uni-tuebingen.de> | 43 2014-09-30 Marcus Crestani <crestani@informatik.uni-tuebingen.de> |
| 2 | 44 |
| 3 * editfns.c (Fencode_time): Switch signs when calculating the time | 45 * editfns.c (Fencode_time): Switch signs when calculating the time |
| 4 zone string. (The offset indicates the value one must add to the | 46 zone string. (The offset indicates the value one must add to the |
| 5 local time to arrive at UTC.) | 47 local time to arrive at UTC.) |
