library/src/blockclass/BP-BlockClass.cc
// connects on existing net_handle using sslMethod
connects on existing net_handle using sslMethod
connects on existing net_handle using sslMethod
BP_ERROR_T Block::SSLConnect(SSL_METHOD *sslMethod)
{
	int err = 0;
	err = BP_SSLSetContext(net_handle, sslMethod);
	if (err != ERR_SUCCESS)
		return ERR_FAILURE;
	err = BP_SSLConnect(net_handle);
	if (err != ERR_SUCCESS)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
BP_ERROR_T Block :: SSLConnect ( SSL_METHOD * sslMethod ) { int err = 0 ; err = BP_SSLSetContext ( net_handle , sslMethod ) ; if ( err != ERR_SUCCESS ) return ERR_FAILURE ; err = BP_SSLConnect ( net_handle ) ; if ( err != ERR_SUCCESS ) return ERR_FAILURE ; return ERR_SUCCESS ; }
connects on existing net_handle using sslMethod
connects on existing net_handle using sslMethod
// set chosen context // attempt ssl connection // return indicating success