AcquireCredentialsHandle
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am programming a Socket enabled with SSL on server side //get the credentials SecurityFunctionTable m_SecurityFunc; Status = m_SecurityFunc.AcquireCredentialsHandle( NULL, UNISP_NAME,//schannel package requested SECPKG_CRED_INBOUND,//for server NULL, &m_SchannelCred,//structure contains the data required for //SChannel NULL, NULL, phCreds,//pointer to CreHandle which receives the handle to credentials &tsExpiry); if(Status != SEC_E_OK ) { ::OutputDebugString(_T("error")); } i m getting an error .I checked the returned value of status ,it is SEC_E_INTERNAL_ERROR i m not understand where is the problem. Thanx in advance for any suggestion