NSSLContextClearFlags

Syntax

#include <cafe.h>
#include <cafe/nssl/nsslclient.h>

NSSL_RVAL NSSLContextClearFlags(NSSLContextHandle context,                        
                                unsigned long flags);

Parameters

context The context for which the flags need to be cleared.
flags Bitmask of the flags that need to be cleared. The bitmask can be a bitwise OR combination of the flags to be cleared. For list of flags that can be cleared, see NSSLContextSetFlags.

Return Values

NSSL_RVAL_OK on success, error code of type NSSL_RVAL on failure.

Description

Clears flags for the context that control behavior during verification of server certificate. For a list of flags that can be cleared and their meanings, see NSSLContextSetFlags. Clearing a flag disables the corresponding feature enabled by the flag.

Do Not Call From

Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

NSSLContextSetFlags
NSSLContextGetFlags
NSSLAddCRLExternal

Revision History

2014/06/02 Initial version.


CONFIDENTIAL