winpr/sspi: add possibility to set auth identity with Unicode password
authorKOVACS Krisztian <hidden@balabit.com>
Wed, 6 Dec 2017 15:30:57 +0000 (16:30 +0100)
committerKOVACS Krisztian <hidden@balabit.com>
Wed, 6 Dec 2017 15:30:57 +0000 (16:30 +0100)
commit3c56300afa1f33fbde1223b34a27c08bc05522ef
tree3d97f663f28972f09cea25a5ff57e685abf02c73
parent6518e36c70d3e05a281eae5906c0009733cf9de0
winpr/sspi: add possibility to set auth identity with Unicode password

To be able to avoid password conversion if the password is already unicode
this change adds the sspi_SetAuthIdentityWithUnicodePassword() function
that is identical to sspi_SetAuthIdentity() except that the password is
used without further conversions in the Unicode identity.
winpr/include/winpr/sspi.h
winpr/libwinpr/sspi/sspi_winpr.c