| 917 |
917 |
| 918 static void jabber_close(GaimConnection *gc) |
918 static void jabber_close(GaimConnection *gc) |
| 919 { |
919 { |
| 920 JabberStream *js = gc->proto_data; |
920 JabberStream *js = gc->proto_data; |
| 921 |
921 |
| 922 /* This is for Adium. Gaim never uses OpenSSL, because of licensing issues, |
|
| 923 * and our configure doesn't check for it. -- rlaager */ |
|
| 924 #ifdef HAVE_OPENSSL |
|
| 925 /* If using OpenSSL, don't perform any actions on the ssl connection |
922 /* If using OpenSSL, don't perform any actions on the ssl connection |
| 926 * if we were forcibly disconnected because it will crash. -- evands |
923 * if we were forcibly disconnected because it will crash. -- evands |
| 927 */ |
924 */ |
| 928 if (!gc->disconnect_timeout) |
925 if (!gc->disconnect_timeout) |
| 929 #endif |
926 jabber_send_raw(js, "</stream:stream>", -1); |
| 930 jabber_send_raw(js, "</stream:stream>", -1); |
|
| 931 |
927 |
| 932 if(js->gsc) { |
928 if(js->gsc) { |
| 933 #ifdef HAVE_OPENSSL |
929 #ifdef HAVE_OPENSSL |
| 934 if (!gc->disconnect_timeout) |
930 if (!gc->disconnect_timeout) |
| 935 #endif |
931 #endif |