mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
780 B
31 lines
780 B
#ifndef _STATE_SEC_
|
|
#define _STATE_SEC_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*State Transition Constant-------------------*/
|
|
/*
|
|
This state is used with async.h states.
|
|
right now this is a hardcoded value but may
|
|
soon change. there is no way... in this file
|
|
at least, to check overlapping constant values
|
|
*/
|
|
|
|
#define STATE_SECURITY_CHECK 32766
|
|
|
|
#define STATE_SEND_SSL_UI_RETRY (STATE_OTHER+1)
|
|
#define STATE_SEND_CANCEL_CERTTEST (STATE_OTHER+2)
|
|
|
|
|
|
/*Function Prototype--------------------------*/
|
|
extern int SecurityCheck(struct Mwin *tw, HTRequest *pRequest, BOOL fSending, BOOL fUseSsl, int nState);
|
|
int CertAndCNSecurityCheck(struct Mwin *tw, DWORD *pdwSSLFlags, DWORD *pdwSendFlags, int socket);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
/*_STATE_SEC_*/
|