Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-09-08 11:09:32 +0300
committerRichard Levitte <levitte@openssl.org>2018-09-09 04:35:26 +0300
commitc2278c8bc41b01df9fac5fc3d7134430a88dd0e5 (patch)
tree69da60b80fbbadf4c457575b44aba206a0fb06e6 /test/recipes/04-test_asn1_decode.t
parentd74f23d2dbf2de0f374bff004c135242cfb65174 (diff)
TESTS: add test of decoding of invalid zero length ASN.1 INTEGER zero
Confirms #7134 Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7153)
Diffstat (limited to 'test/recipes/04-test_asn1_decode.t')
-rw-r--r--test/recipes/04-test_asn1_decode.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/recipes/04-test_asn1_decode.t b/test/recipes/04-test_asn1_decode.t
new file mode 100644
index 0000000000..d2c4563266
--- /dev/null
+++ b/test/recipes/04-test_asn1_decode.t
@@ -0,0 +1,12 @@
+#! /usr/bin/env perl
+# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the OpenSSL license (the "License"). You may not use
+# this file except in compliance with the License. You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
+
+use OpenSSL::Test::Simple;
+
+simple_test("test_asn1_decode", "asn1_decode_test");