summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-09-11 13:02:25 +0000
committerSimon Josefsson <simon@josefsson.org>2006-09-11 13:02:25 +0000
commitfa1fb6f8498058b88b35f2dadcf13e62e8d80ff3 (patch)
treeb00f5b91f3897732b03d292d5493718b5ef2b5d4 /lib
parentc5310160de197ff207a54e712212785eae0e8b77 (diff)
downloadgnutls-fa1fb6f8498058b88b35f2dadcf13e62e8d80ff3.tar.gz
Revert part of patch, logging is only enabled in debug mode, which
isn't recommended for real use.
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_pk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c
index c4485994b1..bfdea37eb2 100644
--- a/lib/gnutls_pk.c
+++ b/lib/gnutls_pk.c
@@ -308,6 +308,7 @@ _gnutls_pkcs1_rsa_decrypt (gnutls_datum_t * plaintext,
}
if (edata[i] != 0xff)
{
+ _gnutls_handshake_log ("PKCS #1 padding error");
/* PKCS #1 padding error. Don't use
GNUTLS_E_PKCS1_WRONG_PAD here. */
break;