From 5593f7caae04feb3870f519e425ee5a49ce60470 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Tue, 6 May 2014 10:29:28 +0200
Subject: [PATCH] Fix typo in debug_print_msg()
---
ChangeLog | 4 ++++
library/debug.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 441dcf997..a9fbdd22f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
PolarSSL ChangeLog (Sorted per branch, date)
+= PolarSSL 1.3 branch
+Bugfix
+ * Fix in debug_print_msg()
+
= PolarSSL 1.3.7 released on 2014-05-02
Features
* debug_set_log_mode() added to determine raw or full logging
diff --git a/library/debug.c b/library/debug.c
index 92559c26b..f2dd77679 100644
--- a/library/debug.c
+++ b/library/debug.c
@@ -88,7 +88,7 @@ void debug_print_msg( const ssl_context *ssl, int level,
if( debug_log_mode == POLARSSL_DEBUG_LOG_RAW )
{
- ssl->f_dbg( ssl->p_dbg, level, str );
+ ssl->f_dbg( ssl->p_dbg, level, text );
return;
}