summaryrefslogtreecommitdiff
path: root/src/rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rsa.c')
-rw-r--r--src/rsa.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rsa.c b/src/rsa.c
index 8623ae0..4646a9f 100644
--- a/src/rsa.c
+++ b/src/rsa.c
@@ -44,14 +44,10 @@
void
report_crypto_errors(void)
{
- unsigned long e = 0;
- unsigned long cnt = 0;
+ unsigned long e = 0;
- while ((cnt < 100) && (e = ERR_get_error()))
- {
+ while ((e = ERR_get_error()))
ilog(LOG_TYPE_IRCD, "SSL error: %s", ERR_error_string(e, 0));
- cnt++;
- }
}
static void