cpw.ljfisher.ssl_client_auth: d5e7f20b: Added translations from purple ssl priva...
lucas.fisher at gmail.com
lucas.fisher at gmail.com
Sat Apr 16 19:36:14 EDT 2011
----------------------------------------------------------------------
Revision: d5e7f20b65ff0bcbdede82075df8237c8812b4c9
Parent: 8359f5eab6e07e5e3ec36dfc7489cdaccfb78499
Author: lucas.fisher at gmail.com
Date: 04/16/11 16:48:04
Branch: im.pidgin.cpw.ljfisher.ssl_client_auth
URL: http://d.pidgin.im/viewmtn/revision/info/d5e7f20b65ff0bcbdede82075df8237c8812b4c9
Changelog:
Added translations from purple ssl private key error values to purple connection error values.
Changes against parent 8359f5eab6e07e5e3ec36dfc7489cdaccfb78499
patched libpurple/connection.c
-------------- next part --------------
============================================================
--- libpurple/connection.c e26d259b085aa54418b2ddd5f4e01b1ed087c441
+++ libpurple/connection.c 9bce1a7703e9a442d480c75df18e30783f786c87
@@ -610,6 +610,12 @@ purple_connection_ssl_error (PurpleConne
/* TODO: maybe PURPLE_SSL_* should be more specific? */
reason = PURPLE_CONNECTION_ERROR_CERT_OTHER_ERROR;
break;
+ case PURPLE_SSL_PRIVATEKEY_NOT_FOUND:
+ case PURPLE_SSL_PRIVATEKEY_CANCELED:
+ case PURPLE_SSL_PRIVATEKEY_BAD_PASSWORD:
+ /* TODO: Create specific PurpleConnectionError codes */
+ reason = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED;
+ break;
default:
g_assert_not_reached ();
reason = PURPLE_CONNECTION_ERROR_CERT_OTHER_ERROR;
More information about the Commits
mailing list