summaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-03-31 21:28:20 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-04 11:29:23 +0200
commit37332ecc010276b899810aa3ac26885bd9dcb57c (patch)
treeaae9caf73456204a39c8dd2476324dd3823e70d2 /test/recipes
parent66ecfb5437b22664a4358e8de6da942727f5fb11 (diff)
Add a test of encoding and decoding LONG, INT32, UINT32, INT64 and UINT64
Also Z varieties. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3088)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/04-test_asn1_encode.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/recipes/04-test_asn1_encode.t b/test/recipes/04-test_asn1_encode.t
new file mode 100644
index 0000000000..dd8121d555
--- /dev/null
+++ b/test/recipes/04-test_asn1_encode.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_encode", "asn1_encode_test");