Make pot file depend on version.sh, not Makefile

It will change when @VERSION@ changes, but other than that we shouldn't
need to rebuild it every time the Makefile changes. Otherwise it ends up
rebuilding itself when LINGUAS changes (because we use autoconf to process
that since not everyone uses GNU make).

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Remove obsolete -DNO_BROKEN_DTLS_CHECK from Android build

We removed this in commit a899e355 ("Check for broken OpenSSL versions at
configure time"). We could add --without-openssl-version-check to the
configure flags to restore the behaviour, but since we build with GnuTLS
anyway it doesn't seem necessary.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Consolidate into a single top-level .gitignore file

The ones in the java/ and android/ directories were being included in the
release tarballs. Easier just to merge into one than filter them out.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Remove unneeded symbols from linker map

Now that we do all the real work in the library, we don't need to export
most of this.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Remove openconnect_print_err_cb() from linker map

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Remove asprintf() from linker map

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Reset rekey time on the first DTLS handshake.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Merge branch 'rekey' of git://gitorious.org/openconnect-x/openconnect-x
Import translations from GNOME

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Fix Windows tun read handling

It's too fragile to depend on the 'new_pkt' check, and only do the ReadFile()
call when we allocate a new packet buffer. Keep track of the pending state
directly in the Windows-specific code, instead.

This should fix the fact that it gets out of sync when we get an error.
Such as the ERROR_MORE_DATA errors we get because vpnc-script-win.js
doesn't set the MTU properly yet...

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Import translations from GNOME

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
android: Update libstoken to 0.5

This fixes 6-digit tokencodes, PIN-less tokens, and the mlockall()
dependency.

It also adds native sdtid support, but that wouldn't be terribly helpful
unless openconnect allowed users to pass in an XML file seed.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>