diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2009-09-13 11:57:18 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2009-09-13 11:57:18 +0000 |
commit | 3c05b9633fd132a956c716bded7375acacff8e2a (patch) | |
tree | 99eaf9f157b9a8b7896fc8ff058ba2cac5928533 | |
parent | 035360fda57b6d120a1ebf6ea61c3465cedfb194 (diff) | |
download | neon-3c05b9633fd132a956c716bded7375acacff8e2a.tar.gz |
* test/ssl.c (simple_sslv2): Skip better.
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.29.x@1732 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r-- | test/ssl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -408,18 +408,18 @@ static int simple(void) /* Test for SSL operation when server uses SSLv2 */ static int simple_sslv2(void) { +#ifdef HAVE_OPENSSL + return SKIP; /* this is breaking with current SSL. */ +#else ne_session *sess = ne_session_create("https", "localhost", 7777); struct ssl_server_args args = {SERVER_CERT, 0}; args.use_ssl2 = 1; -#ifdef HAVE_OPENSSL - return SKIP; /* this is breaking with current SSL. */ -#else ne_set_session_flag(sess, NE_SESSFLAG_SSLv2, 1); CALL(any_ssl_request(sess, ssl_server, &args, CA_CERT, NULL, NULL)); -#endif ne_session_destroy(sess); return OK; +#endif } /* Serves using HTTP/1.0 get-till-EOF semantics. */ |