From 7bf9c75593c7f428ea955f65f354aef9d1dae2e0 Mon Sep 17 00:00:00 2001 From: LawrenceK Date: Wed, 18 Jul 2012 10:36:33 +0100 Subject: [PATCH] printf --- libfreerdp-crypto/nla.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libfreerdp-crypto/nla.c b/libfreerdp-crypto/nla.c index 86c27cd67..b071168df 100644 --- a/libfreerdp-crypto/nla.c +++ b/libfreerdp-crypto/nla.c @@ -238,6 +238,9 @@ int credssp_client_authenticate(rdpCredssp* credssp) while (true) { +#ifdef WITH_DEBUG_CREDSSP + printf("credssp_client_authenticate loop"); +#endif output_buffer_desc.ulVersion = SECBUFFER_VERSION; output_buffer_desc.cBuffers = 1; output_buffer_desc.pBuffers = &output_buffer; @@ -253,7 +256,7 @@ int credssp_client_authenticate(rdpCredssp* credssp) if (have_input_buffer && (input_buffer.pvBuffer != NULL)) { -// free(input_buffer.pvBuffer); + free(input_buffer.pvBuffer); input_buffer.pvBuffer = NULL; }