X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fssl.c;h=489c143f4b632f23d9f2626c03a6659c168ca757;hp=2af08520bb953b1f70ba36a1d4447ead3d08abeb;hb=e894de73de8e7846934ecdf4d7cc3a14d5635ce6;hpb=8bc676a942c6dece627c1d762e1c322b7d77c2ae;ds=sidebyside diff --git a/ircd/ssl.c b/ircd/ssl.c index 2af0852..489c143 100644 --- a/ircd/ssl.c +++ b/ircd/ssl.c @@ -1022,6 +1022,7 @@ const char *ssl_cipherstr(ssl_session_t *ssl) { } IOResult ssl_be_send(signed int fd, ssl_be_session_t *ssl, const char *buf, unsigned int *count_out) { signed int res; + ssl_msg(SSL_DEBUG, "SSL: gnutls ssl_be_send(): %s", buf); res = gnutls_record_send(*ssl, buf, *count_out); *count_out = 0; if(res == 0) { @@ -1039,7 +1040,7 @@ const char *ssl_cipherstr(ssl_session_t *ssl) { } else { *count_out = res; - ssl_msg(SSL_DEBUG, "SSL: gnutls ssl_be_send(): successful (IO_SUCCESS)"); + ssl_msg(SSL_DEBUG, "SSL: gnutls ssl_be_send(): successful (IO_SUCCESS) %d", res); return IO_SUCCESS; } }