Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nopoll/test/nopoll-regression-listener.c Line 538 #30

Closed
rfish001 opened this issue Jul 29, 2017 · 1 comment
Closed

nopoll/test/nopoll-regression-listener.c Line 538 #30

rfish001 opened this issue Jul 29, 2017 · 1 comment

Comments

@rfish001
Copy link

#if defined(NOPOLL_HAVE_TLSv12_ENABLED)

	printf ("Test: starting listener with TLS (TLSv1.2) at :1240\n");

	opts     = nopoll_conn_opts_new ();

	nopoll_conn_opts_set_ssl_protocol (opts, NOPOLL_METHOD_TLSV1_2);

	listener7 = nopoll_listener_tls_new_opts (ctx, opts, "0.0.0.0", "1240");

	if (! nopoll_conn_is_ok (listener5)) {

		printf ("ERROR: Expected to find proper listener TLS connection status (:1240, TLSv1.2), but found..\n");

		return -1;

	} /* end if */

#endif

in this file, nopoll_conn_is_ok(listener5) is wrong? or ‘listener7’ ?

@francisbrosnan
Copy link
Member

Certainly, you are right. It is now fixed. Thanks for reporting. Best Regards

bill1600 pushed a commit to bill1600/nopoll that referenced this issue Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants