pidgin/ljfisher-ssl-client-auth

6edd4aa8f524
Change the heuristic we use for setting od->icq. We used to set it to
true any time the username contained only digits. Now we set it to try
if account->protocol_id is prpl-icq. This means we're now relying on the
user to tell us whether their account is AIM or ICQ... and I think that's
fine.

The reason for this change is that we/AOL apparently allow the user to
login to ICQ accounts by entering their email address. This means we're
no longer able to look at the username to determine whether it's an AIM
name or an ICQ name.

This was a problem because we were trying to format the spacing/capitalization
in the username if the name was an icq email address, which resulted in
an annoying popup error at login. Fixes #13883.

It's probably safe for this to go into im.pidgin.pidgin (maybe after the
pending release), but I really don't want to keep changing the 2.x.y branch.
I think we need to move on to 3.x.y.
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* configure arguments */
/* #undef CONFIG_ARGS */
/* Define if debugging is enabled. */
/* #undef DEBUG */
/* Define if mono enabled. */
/* #undef ENABLE_MONO */
/* always defined to indicate that i18n is enabled */
#define ENABLE_NLS 1
/* Define if you have the external 'altzone' variable. */
/* #undef HAVE_ALTZONE */
/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
/* #undef HAVE_ARPA_NAMESER_COMPAT_H */
/* Define to 1 if you have the `atexit' function. */
#define HAVE_ATEXIT 1
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
/* #undef HAVE_BIND_TEXTDOMAIN_CODESET */
/* Define to 1 if you have the `connect' function. */
/* #undef HAVE_CONNECT */
/* Define to 1 if Cyrus SASL is present */
/* #undef HAVE_CYRUS_SASL */
/* Define if you have the external 'daylight' variable. */
#define HAVE_DAYLIGHT 1
/* Define if we are using D-Bus. */
/* #undef HAVE_DBUS */
/* Define to 1 if you have the `dcgettext' function. */
/* #undef HAVE_DCGETTEXT */
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
*/
/* #undef HAVE_DECL_TZNAME */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* whether or not we have dot */
/* #undef HAVE_DOT */
/* whether or not we have doxygen */
/* #undef HAVE_DOXYGEN */
/* Define if we're using evolution addressbook. */
/* #undef HAVE_EVOLUTION_ADDRESSBOOK */
/* Define to 1 if you have the <EXTERN.h> header file. */
/* #undef HAVE_EXTERN_H */
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the getaddrinfo function. */
/* TODO: Use this on new enough versions of Windows */
/* #define HAVE_GETADDRINFO 1 */
/* Define to 1 if you have the `gethostid' function. */
/* #define HAVE_GETHOSTID 1 */
/* Define to 1 if you have the `getopt_long' function. */
/* #define HAVE_GETOPT_LONG 1 */
/* Define if the GNU gettext() function is already present or preinstalled. */
/* #define HAVE_GETTEXT 1 */
/* Define if you have GNUTLS */
/* #define HAVE_GNUTLS 1 */
/* Define to 1 if you have the <gnutls/gnutls.h> header file. */
/* #define HAVE_GNUTLS_GNUTLS_H 1 */
/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
#define HAVE_INTTYPES_H 1
/* Define if we have IOKit */
/* #undef HAVE_IOKIT */
/* Define to 1 if you have the `krb_get_err_text' function. */
/* #undef HAVE_KRB_GET_ERR_TEXT */
/* Define to 1 if you have the `krb_get_lrealm' function. */
/* #undef HAVE_KRB_GET_LREALM */
/* Define to 1 if you have the `krb_log' function. */
/* #undef HAVE_KRB_LOG */
/* Define to 1 if you have the `krb_rd_req' function. */
/* #undef HAVE_KRB_RD_REQ */
/* Define to 1 if you have the `krb_set_key' function. */
/* #undef HAVE_KRB_SET_KEY */
/* Define if your <locale.h> file defines LC_MESSAGES. */
/* #define HAVE_LC_MESSAGES 1 */
/* Define to 1 if you have libgadu. */
#define HAVE_LIBGADU 1
/* Define if you have NetworkManager */
/* #undef HAVE_LIBNM */
/* Define to 1 if you have the `nsl' library (-lnsl). */
/* #define HAVE_LIBNSL 1 */
/* Define to 1 if you have the `resolv' library (-lresolv). */
/* #define HAVE_LIBRESOLV 1 */
/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if you have the `lrand48' function. */
/* #define HAVE_LRAND48 1 */
/* Define to 1 if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mono_jit_init' function. */
/* #undef HAVE_MONO_JIT_INIT */
/* Define to 1 if you have the <mono/jit/jit.h> header file. */
/* #undef HAVE_MONO_JIT_JIT_H */
/* Define to 1 if you have the <mono/metadata/object.h> header file. */
/* #undef HAVE_MONO_METADATA_OBJECT_H */
/* Define to 1 if you have the <nspr.h> header file. */
/* #undef HAVE_NSPR_H */
/* Define if you have Mozilla NSS */
#define HAVE_NSS 1
/* Define to 1 if you have the <nss.h> header file. */
/* #undef HAVE_NSS_H */
/* Define if we have Pango 1.4 or newer. */
#define HAVE_PANGO14 1
/* Define to 1 if you have the <paths.h> header file. */
/* #define HAVE_PATHS_H 1 */
/* Compile with support for perl */
#define HAVE_PERL 1
/* Define to 1 if you have the `Perl_eval_pv' function. */
/* #undef HAVE_PERL_EVAL_PV */
/* Define to 1 if you have the <perl.h> header file. */
#define HAVE_PERL_H 1
/* Define to 1 if you have the `perl_run' function. */
/* #define HAVE_PERL_RUN 1 */
/* Define to 1 if you have the <prio.h> header file. */
/* #undef HAVE_PRIO_H */
/* Define to 1 if you have the `random' function. */
/* #define HAVE_RANDOM 1 */
/* Define to 1 if you have the <regex.h> header file. */
/* #define HAVE_REGEX_H 1 */
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define to 1 if you have the <sgtty.h> header file. */
/* #define HAVE_SGTTY_H 1 */
/* Define to 1 if you have the <signal.h> header file. */
/* #define HAVE_SIGNAL_H 1 */
/* Define if we have silcmime.h */
#define HAVE_SILCMIME_H 1
/* Define to 1 if you have the <smime.h> header file. */
/* #undef HAVE_SMIME_H */
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define if you have SSL */
#define HAVE_SSL 1
/* Define to 1 if you have the <ssl.h> header file. */
/* #undef HAVE_SSL_H */
/* Define if we're using libstartup-notification. */
/* #define HAVE_STARTUP_NOTIFICATION 1 */
/* Define to 1 if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
/* Define to 1 if you have a strftime() that supports the %z format string. */
/* #undef HAVE_STRFTIME_Z_FORMAT */
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1
/* Define to 1 if `tm_zone' is member of `struct tm'. */
/* #define HAVE_STRUCT_TM_TM_ZONE 1 */
/* Define to 1 if you have the <sys/cdefs.h> header file. */
/* #define HAVE_SYS_CDEFS_H 1 */
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/filio.h> header file. */
/* #undef HAVE_SYS_FILIO_H */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
/* #define HAVE_SYS_IOCTL_H 1 */
/* Define to 1 if you have the <sys/msgbuf.h> header file. */
/* #undef HAVE_SYS_MSGBUF_H */
/* Define to 1 if you have the <sys/select.h> header file. */
/* #define HAVE_SYS_SELECT_H 1 */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/uio.h> header file. */
/* #define HAVE_SYS_UIO_H 1 */
/* Define to 1 if you have the <sys/utsname.h> header file. */
/* #define HAVE_SYS_UTSNAME_H 1 */
/* Define to 1 if you have the <sys/wait.h> header file. */
/* #define HAVE_SYS_WAIT_H 1 */
/* Compile with support for the Tcl toolkit */
#define HAVE_TCL 1
/* Define to 1 if you have the <termios.h> header file. */
/* #define HAVE_TERMIOS_H 1 */
/* Define if you have the external 'timezone' variable. */
#define HAVE_TIMEZONE 1
/* Compile with support for the Tk toolkit */
#define HAVE_TK 1
/* tm_gmtoff is available. */
/* #define HAVE_TM_GMTOFF 1 */
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
`HAVE_STRUCT_TM_TM_ZONE' instead. */
/* #define HAVE_TM_ZONE 1 */
/* Define to 1 if you don't have `tm_zone' but do have the external array
`tzname'. */
/* #undef HAVE_TZNAME */
/* Define to 1 if you have the <unistd.h> header file. */
/*#define HAVE_UNISTD_H 1*/
/* Define to 1 if you have the `vprintf' function. */
#define HAVE_VPRINTF 1
/* Define to 1 if you have X11 */
/* #define HAVE_X11 1 */
/* Define to 1 if you have the <X11/SM/SMlib.h> header file. */
/* #define HAVE_X11_SM_SMLIB_H 1 */
/* Define if external libzephyr should be used. */
/* #undef LIBZEPHYR_EXT */
/* Define to 1 if you don't have wide-character support. */
/* #undef NO_WIDECHAR */
/* Define if old perl is installed. */
/* #undef OLD_PERL */
/* Name of package */
#define PACKAGE "pidgin"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "devel@pidgin.im"
/* Define to the full name of this package. */
#define PACKAGE_NAME "pidgin"
/* Define to the full name and version of this package. */
/* #define PACKAGE_STRING "pidgin 2.0.0dev" */
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pidgin"
/* Define to the version of this package. */
/* #define PACKAGE_VERSION "2.0.0dev" */
/* Define if plugins are enabled. */
#define PURPLE_PLUGINS 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* The size of `time_t', as computed by sizeof. */
#define SIZEOF_TIME_T 4
/* Loads static protocol plugin module initialization functions. */
#ifndef STATIC_PROTO_INIT
#define STATIC_PROTO_INIT static void static_proto_init(void) { }
#endif
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
/* Use GStreamer for playing sounds */
/* #define USE_GSTREAMER 1 */
/* Define if we're using GtkSpell */
#define USE_GTKSPELL 1
/* Define if we're using XScreenSaver. */
#define USE_SCREENSAVER 1
/* Define if we're using X Session Management. */
/* #define USE_SM 1 */
/* Version number of package */
#define VERSION "@VERSION@"
#define DISPLAY_VERSION "@DISPLAY_VERSION@"
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Define to 1 if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */
/* Size of an int32. */
#define ZEPHYR_INT32 long
/* Define if kerberos should be used in Zephyr. */
/* #undef ZEPHYR_USES_KERBEROS */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #define _FILE_OFFSET_BITS 64 */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* socklen_t size */
/* #undef socklen_t */
/*
* Following are added for Win32 version of Pidgin
*/
#define HAVE_VSNPRINTF 1
#define HAVE_FILENO 1