Switching to the Default Callback
To stop using your callback, call one of these set functions:
*RWHttpsSecurityManager::setNameCheckCallback()
*RWHttpsSecurityManager::setNameMismatchCallback() with a functor that does not have a body attached; in other words, a default constructed functor handle. See Example 13.
Example 13 – Switching to the Default Callback
RWHttpsNameMismatchCallback functor;
RWHttpsSecurityManager::setNameMismatchCallback (functor);