elisp/starttls.git
18 years agoInclude gnulib headers. master
ueno [Fri, 11 Aug 2006 06:03:25 +0000 (06:03 +0000)]
Include gnulib headers.

18 years agoInvoke AC_PROG_EGREP.
ueno [Fri, 11 Aug 2006 05:59:16 +0000 (05:59 +0000)]
Invoke AC_PROG_EGREP.

18 years agoRequire autoconf 2.59.
ueno [Fri, 11 Aug 2006 04:35:12 +0000 (04:35 +0000)]
Require autoconf 2.59.

18 years agoRemoved unused local variables.
ueno [Fri, 11 Aug 2006 02:52:39 +0000 (02:52 +0000)]
Removed unused local variables.

18 years agoDon't use goto readtop:
ueno [Fri, 11 Aug 2006 02:46:02 +0000 (02:46 +0000)]
Don't use goto readtop:

18 years agoFixed.
ueno [Fri, 11 Aug 2006 02:17:48 +0000 (02:17 +0000)]
Fixed.

18 years ago* starttls.c (redirect): New function.
ueno [Fri, 11 Aug 2006 02:16:31 +0000 (02:16 +0000)]
* starttls.c (redirect): New function.

18 years agoFixed.
ueno [Fri, 11 Aug 2006 01:26:05 +0000 (01:26 +0000)]
Fixed.

18 years ago* starttls.c (main): Added --help option.
ueno [Fri, 11 Aug 2006 01:25:17 +0000 (01:25 +0000)]
* starttls.c (main): Added --help option.

18 years agoAdded -lgnu to LIBS.
ueno [Fri, 11 Aug 2006 01:22:29 +0000 (01:22 +0000)]
Added -lgnu to LIBS.

18 years agoRemoved basename.c from EXTRA_DIST.
ueno [Fri, 11 Aug 2006 01:07:29 +0000 (01:07 +0000)]
Removed basename.c from EXTRA_DIST.

18 years agoInvoke AC_PROG_CPP.
ueno [Fri, 11 Aug 2006 01:05:29 +0000 (01:05 +0000)]
Invoke AC_PROG_CPP.

18 years agoFixed indentation.
ueno [Thu, 10 Aug 2006 23:42:22 +0000 (23:42 +0000)]
Fixed indentation.

18 years agoPlace sigprocmask just before poll.
ueno [Thu, 10 Aug 2006 23:41:47 +0000 (23:41 +0000)]
Place sigprocmask just before poll.

18 years ago* starttls.c (main): Use poll(2) emulation from gnulib; avoid some
ueno [Thu, 10 Aug 2006 22:25:22 +0000 (22:25 +0000)]
* starttls.c (main): Use poll(2) emulation from gnulib; avoid some
race condition when waiting fd/signal.

18 years ago* Use gnulib.
ueno [Thu, 10 Aug 2006 01:37:04 +0000 (01:37 +0000)]
* Use gnulib.

* starttls.c (main): Don't use basename.
http://bugs.debian.org/348228.
(tcp_connect): Renamed the variable "false" to "_false".

18 years ago* configure.in: Use AC_HELP_STRING.
ueno [Thu, 10 Aug 2006 00:34:15 +0000 (00:34 +0000)]
* configure.in: Use AC_HELP_STRING.

18 years agostarttls.el (starttls-kill-program): Fix.
okada [Wed, 12 Apr 2006 11:23:16 +0000 (11:23 +0000)]
starttls.el (starttls-kill-program): Fix.

19 years agoUpdate.
okazaki [Wed, 1 Jun 2005 06:29:17 +0000 (06:29 +0000)]
Update.

19 years ago(AC_PREREQ): Up to 2.50 for AC_LIBOBJ.
okazaki [Wed, 1 Jun 2005 06:29:00 +0000 (06:29 +0000)]
(AC_PREREQ): Up to 2.50 for AC_LIBOBJ.
(AC_CHECK_FUNC): Indent not-found actions.  Reported by
Hiroshi Fujishima <hiroshi.fujishima@gmail.com>

20 years ago* starttls.c (tcp_connect): Renamed from socket_connect.
ueno [Wed, 9 Jun 2004 10:15:35 +0000 (10:15 +0000)]
* starttls.c (tcp_connect): Renamed from socket_connect.

20 years ago* Makefile.am (starttls_SOURCES): Add gnutls.c if USE_GNUTLS
ueno [Wed, 9 Jun 2004 06:56:12 +0000 (06:56 +0000)]
* Makefile.am (starttls_SOURCES): Add gnutls.c if USE_GNUTLS
conditional is asserted.
* starttls.c (socket_connect): Renamed from tls_connect.
* configure.in: Add --with-gnutls.
* gnutls.c: New file; support build with GnuTLS.

20 years ago* starttls.c (do_tls_negotiate): New signal handler.
ueno [Wed, 9 Jun 2004 02:53:45 +0000 (02:53 +0000)]
* starttls.c (do_tls_negotiate): New signal handler.
* openssl.c: New file; split functions which use OpenSSL API from
starttls.c.
* Makefile.am (starttls_SOURCES): Add openssl.c.

20 years ago2004-03-21 Kenichi Okada <okada@opaopa.org> starttls-0_10
okada [Sun, 21 Mar 2004 23:40:27 +0000 (23:40 +0000)]
2004-03-21  Kenichi Okada  <okada@opaopa.org>

  * configure.in (VERSION): Bump up to 0.10.

2004-03-21  AIDA Shinra <shinra@j10n.org>

    * starttls.c (main): Fix for small BUFSIZE OS.

20 years ago* configure.in: Use AC_LIBOBJ rather than manually modify LIBOBJS.
ueno [Tue, 17 Feb 2004 01:56:36 +0000 (01:56 +0000)]
* configure.in: Use AC_LIBOBJ rather than manually modify LIBOBJS.

22 years ago* starttls.c (tls_connect): Don't free addrinfo structure. starttls-0_9
ueno [Fri, 8 Mar 2002 07:18:08 +0000 (07:18 +0000)]
* starttls.c (tls_connect): Don't free addrinfo structure.
From Jun-ya Kato <kato@goto.info.waseda.ac.jp>.

22 years ago* configure.in (VERSION): Bump up to 0.9.
ueno [Wed, 6 Mar 2002 03:57:34 +0000 (03:57 +0000)]
* configure.in (VERSION): Bump up to 0.9.

22 years agoupdate.
ueno [Wed, 6 Mar 2002 03:57:23 +0000 (03:57 +0000)]
update.

22 years agoupdate.
ueno [Tue, 5 Mar 2002 12:43:26 +0000 (12:43 +0000)]
update.

22 years ago* starttls.c (tls_connect) [HAVE_ADDRINFO]: Attempt to connect to
ueno [Tue, 5 Mar 2002 12:43:18 +0000 (12:43 +0000)]
* starttls.c (tls_connect) [HAVE_ADDRINFO]: Attempt to connect to
all the names of the host.
(tls_connect) [!HAVE_ADDRINFO]: Remove too much conversion between
host and network byte order.

* starttls.el (starttls-kill-program): New user option.
(starttls-negotiation-by-kill-program): New user option.
(starttls-negotiate): Send SIGALRM by kill.exe if
`starttls-negotiation-by-kill-program' is non-nil.

22 years agorelease.
ueno [Wed, 23 Jan 2002 00:49:24 +0000 (00:49 +0000)]
release.

22 years ago* configure.in (VERSION): Bump up to 0.8.
ueno [Wed, 23 Jan 2002 00:49:12 +0000 (00:49 +0000)]
* configure.in (VERSION): Bump up to 0.8.

22 years ago* starttls.c (tls_connect): Replace socklen_t with size_t to
ueno [Wed, 23 Jan 2002 00:48:53 +0000 (00:48 +0000)]
* starttls.c (tls_connect): Replace socklen_t with size_t to
compile on Solaris 2.6, and also fix typo.

22 years agorelease.
ueno [Tue, 22 Jan 2002 12:51:13 +0000 (12:51 +0000)]
release.

22 years ago* configure.in (VERSION): Bump up to 0.7.
ueno [Tue, 22 Jan 2002 12:51:04 +0000 (12:51 +0000)]
* configure.in (VERSION): Bump up to 0.7.

22 years ago#define _LIBC.
ueno [Tue, 22 Jan 2002 12:43:28 +0000 (12:43 +0000)]
#define _LIBC.

22 years agoupdate.
ueno [Tue, 22 Jan 2002 12:40:48 +0000 (12:40 +0000)]
update.

22 years ago* addrinfo.h: Removed and gave up to emulate getaddrinfo(3). Thus
ueno [Tue, 22 Jan 2002 12:40:30 +0000 (12:40 +0000)]
* addrinfo.h: Removed and gave up to emulate getaddrinfo(3). Thus
on systems where there is no such thing, we are now being unable
to use IPv6.
* bittypes.h: Ditto.
* getaddrinfo.c: Ditto.
* sockstorage.h: Ditto.
* Makefile.am: Took off the above stuff from EXTRA_DIST.
* configure.in: Don't touch $LIBOBJS even if there is no
getaddrinfo working.

* starttls.c (tls_connect) [!HAVE_ADDRINFO]: Don't use the fake
getaddrinfo.

22 years agoupdate.
ueno [Tue, 22 Jan 2002 09:56:16 +0000 (09:56 +0000)]
update.

22 years ago* starttls.c: Put getopt.h between "" instead of <>.
ueno [Tue, 22 Jan 2002 09:56:10 +0000 (09:56 +0000)]
* starttls.c: Put getopt.h between "" instead of <>.

22 years ago* configure.in: Don't compile getopt.c and getopt1.c if there is
ueno [Tue, 22 Jan 2002 09:54:20 +0000 (09:54 +0000)]
* configure.in: Don't compile getopt.c and getopt1.c if there is
getopt_long.
* Makefile.am: Don't compile getopt.c and getopt1.c if there is
getopt_long; use autoconf's output variable $(LIBOBJS).

22 years ago* bittypes.h: Add missing header files.
ueno [Tue, 22 Jan 2002 09:53:51 +0000 (09:53 +0000)]
* bittypes.h: Add missing header files.
* sockstorage.h: Ditto.

22 years ago * starttls.c: Fix the argument of getopt_long.
okada [Tue, 22 Jan 2002 09:00:07 +0000 (09:00 +0000)]
 * starttls.c: Fix the argument of getopt_long.

22 years agoEliminate useless names which have already been defined in
ueno [Tue, 22 Jan 2002 08:45:44 +0000 (08:45 +0000)]
Eliminate useless names which have already been defined in
AC_STRUCT_ADDRINFO().

22 years agoupdate.
ueno [Tue, 22 Jan 2002 08:38:37 +0000 (08:38 +0000)]
update.

22 years ago* configure.in: Don't check the existence of "socks.h".
ueno [Tue, 22 Jan 2002 08:38:05 +0000 (08:38 +0000)]
* configure.in: Don't check the existence of "socks.h".
* starttls.c: Don't include "socks.h".

22 years agoupdate.
ueno [Tue, 22 Jan 2002 08:33:37 +0000 (08:33 +0000)]
update.

22 years ago* getaddrinfo.c: Synch up with the HEAD of tcpdump/missing/*.
ueno [Tue, 22 Jan 2002 08:33:28 +0000 (08:33 +0000)]
* getaddrinfo.c: Synch up with the HEAD of tcpdump/missing/*.
* addrinfo.h: Ditto.

22 years ago* acinclude.m4: New file.
ueno [Tue, 22 Jan 2002 08:33:12 +0000 (08:33 +0000)]
* acinclude.m4: New file.
* configure.in: Use macros coming from acinclude.m4.

23 years agoupdate.
ueno [Wed, 17 Oct 2001 04:26:34 +0000 (04:26 +0000)]
update.

23 years ago* starttls.c (main): Use poll() instead of select() if available.
ueno [Wed, 17 Oct 2001 04:26:25 +0000 (04:26 +0000)]
* starttls.c (main): Use poll() instead of select() if available.

23 years ago* configure.in: Check the existence of sys/poll.h.
ueno [Wed, 17 Oct 2001 04:26:12 +0000 (04:26 +0000)]
* configure.in: Check the existence of sys/poll.h.

23 years agoupdate.
ueno [Wed, 17 Oct 2001 03:40:41 +0000 (03:40 +0000)]
update.

23 years ago* starttls.c (main): Clear fd sets before select().
ueno [Wed, 17 Oct 2001 03:40:32 +0000 (03:40 +0000)]
* starttls.c (main): Clear fd sets before select().

24 years ago* configure.in (VERSION): Bump up to 0.6.
ueno [Sat, 18 Nov 2000 04:44:00 +0000 (04:44 +0000)]
* configure.in (VERSION): Bump up to 0.6.
* starttls.c: Rearrange header.
* starttls.el: Ditto.

24 years ago* README: Rewrite.
ueno [Fri, 17 Nov 2000 18:02:58 +0000 (18:02 +0000)]
* README: Rewrite.

24 years ago* starttls.c: Remove comment.
ueno [Fri, 17 Nov 2000 16:41:54 +0000 (16:41 +0000)]
* starttls.c: Remove comment.

24 years ago* configure.in: Rewrite.
ueno [Fri, 17 Nov 2000 16:25:05 +0000 (16:25 +0000)]
* configure.in: Rewrite.
* starttls.c: Use `NEED_ADDRINFO_H' instead of `HAVE_GETADDRINFO'.

24 years ago* starttls.el: Undo the last change.
ueno [Fri, 17 Nov 2000 10:52:55 +0000 (10:52 +0000)]
* starttls.el: Undo the last change.
* starttls.c: Undo the last change.
* configure.in: Use `AC_REPLACE_FUNCS'.
* addrinfo.h: New file.
* getaddrinfo.c: New implementation.
* basename.c: New file.

24 years agoFix starttls-0_5
okada [Thu, 2 Nov 2000 10:06:02 +0000 (10:06 +0000)]
Fix

24 years ago2000-10-07 Simon Josefsson <sj@extundo.com>
okada [Thu, 2 Nov 2000 10:02:28 +0000 (10:02 +0000)]
2000-10-07   Simon Josefsson <sj@extundo.com>

        * starttls.c: Use `sizeof buffer -1' instead of `BUFSIZ/2'.

24 years agoAdd `INSTALL'.
ueno [Sat, 7 Oct 2000 19:06:17 +0000 (19:06 +0000)]
Add `INSTALL'.

24 years ago*** empty log message ***
ueno [Sat, 7 Oct 2000 19:05:14 +0000 (19:05 +0000)]
*** empty log message ***

24 years agoImporting starttls 0.4+. start
ueno [Sat, 7 Oct 2000 19:01:05 +0000 (19:01 +0000)]
Importing starttls 0.4+.