comparison plugins/ssl/ssl-gnutls.c @ 8375:1556970088d4

[gaim-migrate @ 9102] quoth marv: " I like "What You Get Is What You Get" better. This fixes a problem where yahoo was sending < and > to the core when it wasn't html, and so gtkimhtml wasn't displaying part of the message. It's fixed by making the prpl escape it first. While I was add it, it made it display "Buzz!!" when someone buzzes you, instead of it saying that they said <ding>. Note that the official client uses red letters, all caps, and 3 !'s, and makes the window shake, so what we do is pretty mild. I also fixed a compile warning." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 01 Mar 2004 05:13:45 +0000
parents 27c0cb0d8d07
children d7b8eb1f0a18
comparison
equal deleted inserted replaced
8374:e7463be62fb1 8375:1556970088d4
94 gnutls_credentials_set(gnutls_data->session, GNUTLS_CRD_CERTIFICATE, 94 gnutls_credentials_set(gnutls_data->session, GNUTLS_CRD_CERTIFICATE,
95 xcred); 95 xcred);
96 96
97 gnutls_transport_set_ptr(gnutls_data->session, GINT_TO_POINTER(source)); 97 gnutls_transport_set_ptr(gnutls_data->session, GINT_TO_POINTER(source));
98 98
99 gaim_debug_info("gnutls", "Handshaking\n");
100 99
101 do 100 do
102 { 101 {
102 gaim_debug_info("gnutls", "Handshaking\n");
103 ret = gnutls_handshake(gnutls_data->session); 103 ret = gnutls_handshake(gnutls_data->session);
104 } 104 }
105 while ((ret == GNUTLS_E_AGAIN) || (ret == GNUTLS_E_INTERRUPTED)); 105 while ((ret == GNUTLS_E_AGAIN) || (ret == GNUTLS_E_INTERRUPTED));
106 106
107 if (ret < 0) 107 if (ret < 0)