  		return NULL;
  	} /* end if */
  
-@@ -691,7 +838,7 @@ noPollConn * __nopoll_conn_new_common (noPollCtx       * ctx,
+@@ -691,7 +839,7 @@ noPollConn * __nopoll_conn_new_common (noPollCtx       * ctx,
  
  
  	/* get client init payload */

 {
 	/* init ssl ciphers and engines */
 	if (! __nopoll_tls_was_init) {
@@ -1032,7 +1191,7 @@ noPollConn * nopoll_conn_tls_new (noPollCtx  * ctx,
 	/* call common implementation */
 	return __nopoll_conn_new_common (ctx, options, nopoll_true, 
 					 host_ip, host_port, host_name, 

 	if (! nopoll_conn_is_ok (conn)) {
 		printf ("ERROR: Expected to find proper client connection status, but found error..\n");
 		return nopoll_false;
@@ -1709,9 +1870,10 @@ nopoll_bool test_18 (void) {
 	/* disable verification */
 	opts = nopoll_conn_opts_new ();
 	nopoll_conn_opts_ssl_peer_verify (opts, nopoll_false);
+	nopoll_conn_opts_ssl_host_verify (opts, nopoll_false);
 
 	/* call to create a connection */
-	conn = nopoll_conn_tls_new (ctx, opts, "localhost", "1235", NULL, NULL, NULL, NULL);
