From 32fe5b14ec1231bc3b64b8d5fbd2db5be50de475 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 16 Jan 2007 18:34:58 +0000 Subject: Added simple OpenSSL crypto engine tests. --- tests/data/Makefile.am | 2 +- tests/data/test307 | 43 +++++++++++++++++++++++++++++++++++++++++++ tests/data/test308 | 24 ++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 tests/data/test307 create mode 100644 tests/data/test308 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index fcb6482ec..37078bafa 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -37,4 +37,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test274 test275 test524 test525 test276 test277 test526 test527 test528 \ test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \ test534 test535 test281 test537 test282 test283 test284 test538 test285 \ - test286 + test286 test307 test308 diff --git a/tests/data/test307 b/tests/data/test307 new file mode 100644 index 000000000..186b994ca --- /dev/null +++ b/tests/data/test307 @@ -0,0 +1,43 @@ +# +# Server-side + + +HTTP/1.1 200 OK +Date: Tue, 16 Jan 2007 18:00:14 GMT +Server: test-server/fake +Content-Length: 7 + +MooMoo + + + +# +# Client-side + + +OpenSSL + + +https + + +simple HTTPS GET with openssl engine + + +--engine openssl -k https://%HOSTIP:%HTTPSPORT/307 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /307 HTTP/1.1 +Host: 127.0.0.1:%HTTPSPORT +Accept: */* + + + diff --git a/tests/data/test308 b/tests/data/test308 new file mode 100644 index 000000000..d9ae1fd88 --- /dev/null +++ b/tests/data/test308 @@ -0,0 +1,24 @@ +# +# Client-side + + +OpenSSL + + +https + + +simple HTTPS GET with invaild crypto engine + + +--engine invalid-crypto-engine-xyzzy -k https://%HOSTIP:%HTTPSPORT/308 + + + +# +# Verify data after the test has been "shot" + + +53 + + -- cgit v1.2.3