mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
secur32: Added SECPKG_ATTR_SUPPORTED_PROTOCOLS implementation.
This commit is contained in:
parent
0f2e0365ea
commit
e413b8a505
1 changed files with 7 additions and 7 deletions
|
@ -281,14 +281,14 @@ static SECURITY_STATUS schan_QueryCredentialsAttributes(
|
|||
ret = SEC_E_INTERNAL_ERROR;
|
||||
break;
|
||||
case SECPKG_ATTR_SUPPORTED_PROTOCOLS:
|
||||
if (pBuffer)
|
||||
{
|
||||
/* FIXME: get from OpenSSL? */
|
||||
FIXME("SECPKG_ATTR_SUPPORTED_PROTOCOLS: stub\n");
|
||||
ret = SEC_E_UNSUPPORTED_FUNCTION;
|
||||
}
|
||||
else
|
||||
if(pBuffer) {
|
||||
/* Regardless of MSDN documentation, tests show that this attribute takes into account
|
||||
* what protocols are enabled for given credential. */
|
||||
((SecPkgCred_SupportedProtocols*)pBuffer)->grbitProtocol = cred->enabled_protocols;
|
||||
ret = SEC_E_OK;
|
||||
}else {
|
||||
ret = SEC_E_INTERNAL_ERROR;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ret = SEC_E_UNSUPPORTED_FUNCTION;
|
||||
|
|
Loading…
Reference in a new issue