Added log message for not implemented Schannel functions.
authorArmin Novak <armin.novak@thincast.com>
Mon, 10 Aug 2020 12:48:51 +0000 (14:48 +0200)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 1 Dec 2020 14:10:23 +0000 (15:10 +0100)
(cherry picked from commit 65819a721577fd997e159b059a3c1fe4c153cdd2)

winpr/libwinpr/sspi/Schannel/schannel.c

index 81b6f94..5dec102 100644 (file)
 #include "schannel.h"
 
 #include "../sspi.h"
+#include "../log.h"
 
 static char* SCHANNEL_PACKAGE_NAME = "Schannel";
 
+#define TAG WINPR_TAG("sspi.Schannel")
+
 SCHANNEL_CONTEXT* schannel_ContextNew(void)
 {
        SCHANNEL_CONTEXT* context;
@@ -113,6 +116,7 @@ static SECURITY_STATUS SEC_ENTRY schannel_QueryCredentialsAttributesW(PCredHandl
                return SEC_E_OK;
        }
 
+       WLog_ERR(TAG, "[%s]: TODO: Implement ulAttribute=%08" PRIx32, __FUNCTION__, ulAttribute);
        return SEC_E_UNSUPPORTED_FUNCTION;
 }
 
@@ -308,6 +312,7 @@ static SECURITY_STATUS SEC_ENTRY schannel_QueryContextAttributes(PCtxtHandle phC
                return SEC_E_OK;
        }
 
+       WLog_ERR(TAG, "[%s]: TODO: Implement ulAttribute=%08" PRIx32, __FUNCTION__, ulAttribute);
        return SEC_E_UNSUPPORTED_FUNCTION;
 }