Testing Done:
Built and followed the sasl instructions on freenode's site https://freenode.net/kb/answer/pidgin and connected and identified me to nickserv just fine. Also I checked Debian and they're manually enabling this so if there was an issue users were seeing we would have heard about it by now as this line was last changed in 2013.
Reviewed at https://reviews.imfreedom.org/r/26/
/**
* @file certificate.h Public-Key Certificate API
* @ingroup core
* @see @ref certificate-signals
* @since 2.2.0
*/
/*
*
* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#ifndef _PURPLE_CERTIFICATE_H
#define _PURPLE_CERTIFICATE_H
#include<time.h>
#include<glib.h>
#ifdef __cplusplus
extern"C"{
#endif /* __cplusplus */
typedefenum
{
PURPLE_CERTIFICATE_INVALID=0,
PURPLE_CERTIFICATE_VALID=1
}PurpleCertificateVerificationStatus;
/*
* TODO: Merge this with PurpleCertificateVerificationStatus for 3.0.0 */
typedefenum{
PURPLE_CERTIFICATE_UNKNOWN_ERROR=-1,
/* Not an error */
PURPLE_CERTIFICATE_NO_PROBLEMS=0,
/* Non-fatal */
PURPLE_CERTIFICATE_NON_FATALS_MASK=0x0000FFFF,
/* The certificate is self-signed. */
PURPLE_CERTIFICATE_SELF_SIGNED=0x01,
/* The CA is not in libpurple's pool of certificates. */
PURPLE_CERTIFICATE_CA_UNKNOWN=0x02,
/* The current time is before the certificate's specified
* activation time.
*/
PURPLE_CERTIFICATE_NOT_ACTIVATED=0x04,
/* The current time is after the certificate's specified expiration time */
PURPLE_CERTIFICATE_EXPIRED=0x08,
/* The certificate's subject name doesn't match the expected */
PURPLE_CERTIFICATE_NAME_MISMATCH=0x10,
/* No CA pool was found. This shouldn't happen... */
PURPLE_CERTIFICATE_NO_CA_POOL=0x20,
/* Fatal */
PURPLE_CERTIFICATE_FATALS_MASK=0xFFFF0000,
/* The signature chain could not be validated. Due to limitations in the
* the current API, this also indicates one of the CA certificates in the
* chain is expired (or not yet activated). FIXME 3.0.0 */