diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-08 10:09:32 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-09-09 03:35:26 +0200 |
commit | c2278c8bc41b01df9fac5fc3d7134430a88dd0e5 (patch) | |
tree | 69da60b80fbbadf4c457575b44aba206a0fb06e6 /test/recipes | |
parent | d74f23d2dbf2de0f374bff004c135242cfb65174 (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')
-rw-r--r-- | test/recipes/04-test_asn1_decode.t | 12 |
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"); |