Module: kamailio
Branch: master
Commit: 7731fc3a1d793ffc7204e5c042a8bfc38d97e691
URL:
https://github.com/kamailio/kamailio/commit/7731fc3a1d793ffc7204e5c042a8bfc…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-10-24T11:13:36Z
tls: add log line-break, increase buffer size (related to GH 3612 and GH 3607)
---
Modified: src/modules/tls/tls_util.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7731fc3a1d793ffc7204e5c042a8bfc…
Patch:
https://github.com/kamailio/kamailio/commit/7731fc3a1d793ffc7204e5c042a8bfc…
---
diff --git a/src/modules/tls/tls_util.c b/src/modules/tls/tls_util.c
index 0377397200c..40d2bf07d22 100644
--- a/src/modules/tls/tls_util.c
+++ b/src/modules/tls/tls_util.c
@@ -106,9 +106,9 @@ void collect_garbage(void)
void tls_openssl_clear_errors(void)
{
int i;
- char err[160];
+ char err[256];
while((i = ERR_get_error())) {
ERR_error_string(i, err);
- INFO("clearing leftover error before SSL_* calls: %s", err);
+ INFO("clearing leftover error before SSL_* calls: %s\n", err);
}
}