Commit e413b8a5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

secur32: Added SECPKG_ATTR_SUPPORTED_PROTOCOLS implementation.

parent 0f2e0365
...@@ -281,14 +281,14 @@ static SECURITY_STATUS schan_QueryCredentialsAttributes( ...@@ -281,14 +281,14 @@ static SECURITY_STATUS schan_QueryCredentialsAttributes(
ret = SEC_E_INTERNAL_ERROR; ret = SEC_E_INTERNAL_ERROR;
break; break;
case SECPKG_ATTR_SUPPORTED_PROTOCOLS: case SECPKG_ATTR_SUPPORTED_PROTOCOLS:
if (pBuffer) if(pBuffer) {
{ /* Regardless of MSDN documentation, tests show that this attribute takes into account
/* FIXME: get from OpenSSL? */ * what protocols are enabled for given credential. */
FIXME("SECPKG_ATTR_SUPPORTED_PROTOCOLS: stub\n"); ((SecPkgCred_SupportedProtocols*)pBuffer)->grbitProtocol = cred->enabled_protocols;
ret = SEC_E_UNSUPPORTED_FUNCTION; ret = SEC_E_OK;
} }else {
else
ret = SEC_E_INTERNAL_ERROR; ret = SEC_E_INTERNAL_ERROR;
}
break; break;
default: default:
ret = SEC_E_UNSUPPORTED_FUNCTION; ret = SEC_E_UNSUPPORTED_FUNCTION;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment