Revision 504a3dc38ec168dab1f4443c13d14858db47cd70

Nathan Walp nwalp at pidgin.im
Tue Jun 5 11:29:27 EDT 2007


am at adiumx.com wrote:
> -----------------------------------------------------------------
> Revision: 504a3dc38ec168dab1f4443c13d14858db47cd70
> Ancestor: e52b685d84ca8874da6e3e71199829e513500642
> Author: am at adiumx.com
> Date: 2007-06-05T15:18:30
> Branch: im.pidgin.soc.2007.xmpp
> 
> Modified files:
>         libpurple/protocols/jabber/jabber.c
>         libpurple/protocols/jabber/jabber.h libpurple/sslconn.c
>         libpurple/sslconn.h
> 
> ChangeLog: 
> 
> Fixed one of the issues in the ssl stuff, allowing CN cert checks for starttls-connections in XMPP.
> 
> 
> 
> ============================================================
> --- libpurple/protocols/jabber/jabber.h	526859cb1addc59e41df16694c8b27c5f7524b13
> +++ libpurple/protocols/jabber/jabber.h	826bd3d828ec209b58d5354c2f572cc6451cb73f
> @@ -136,6 +136,8 @@ typedef struct _JabberStream
>  	char *gmail_last_time;
>  	char *gmail_last_tid;
>  
> +    char *serverFQDN;
> +
>  	/* OK, this stays at the end of the struct, so plugins can depend
>  	 * on the rest of the stuff being in the right place
>  	 */
> @@ -145,7 +147,6 @@ typedef struct _JabberStream
>  	int sasl_state;
>  	int sasl_maxbuf;
>  	GString *sasl_mechs;
> -	char *serverFQDN;
>  #endif
>  
>  } JabberStream;

You need to maintain the position of serverFQDN in the struct, otherwise 
it is a compat change (i.e. 3.0 vs 2.1)

-Nathan




More information about the Devel mailing list