* loudmouth/lm-connection.c (lm_connection_set_ssl):
authormr <mr>
Sat, 9 Jul 2005 09:30:04 +0000 (09:30 +0000)
committermr <mr>
Sat, 9 Jul 2005 09:30:04 +0000 (09:30 +0000)
- Error when trying to set up SSL knowing it is not supported.

ChangeLog
loudmouth/lm-connection.c

index 31919e7c8dc05762aa3af56796bc9c9d6fb58645..f0ffedc3bed77b2a31afe93d7c947d5048d4fb0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-09  Martyn Russell  <mr@gnome.org>
+
+       * loudmouth/lm-connection.c (lm_connection_set_ssl): 
+       - Error when trying to set up SSL knowing it is not supported.
+
 2005-05-17  Mikael Hallendal  <micke@imendio.com>
 
        * loudmouth/lm-ssl.c: 
index 1fb7a0de6461752c381ad220c9c581e8df6b9983..13460fa94808c52116eef67c0433d14b7ae89270 100644 (file)
@@ -1676,6 +1676,7 @@ void
 lm_connection_set_ssl (LmConnection *connection, LmSSL *ssl)
 {
        g_return_if_fail (connection != NULL);
+       g_return_if_fail (lm_ssl_is_supported () == TRUE);
 
        if (connection->ssl) {
                lm_ssl_unref (connection->ssl);