We have a few instances of ON_BLOCK_EXIT in the file ssl_manager_openssl.cpp. See here and here. We also have two instances of UniqueX509. We should use UniqueX509 instead of ON_BLOCK_EXIT code, and we should delete the extra using directive.