diff options
author | Joe Orton <jorton@redhat.com> | 2019-03-07 12:45:02 +0000 |
---|---|---|
committer | Joe Orton <jorton@redhat.com> | 2019-03-07 12:45:02 +0000 |
commit | b1677e95d38cbfe23753adee1c92e9436c7e5ed3 (patch) | |
tree | d3a50703193bdc028dba22b50061c15de2d6981e /test/ssl.c | |
parent | 3eef48050dd22a99b242a1f88337b4cb1cfd4bb9 (diff) | |
download | neon-git-b1677e95d38cbfe23753adee1c92e9436c7e5ed3.tar.gz |
* test/ssl.c (fail_not_ssl): Use make_ssl_session().
Diffstat (limited to 'test/ssl.c')
-rw-r--r-- | test/ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -524,10 +524,10 @@ static int just_serve_string(ne_socket *sock, void *userdata) /* test for the SSL negotiation failing. */ static int fail_not_ssl(void) { - ne_session *sess = DEFSESS; + ne_session *sess; int ret; - CALL(spawn_server(7777, just_serve_string, "Hello, world.\n")); + CALL(make_ssl_session(&sess, NULL, just_serve_string, "Hello, world.\n")); ret = any_request(sess, "/bar"); CALL(await_server()); |