mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
54846b7c6e
Adds simple utility functions to allow both the default and fips providers to encode and decode DSA-Sig-Value and ECDSA-Sig-Value (DSA_SIG and ECDSA_SIG structures) to/from ASN.1 DER without requiring those providers to have a dependency on the asn1 module. Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9111)
17 lines
550 B
Perl
17 lines
550 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (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 strict;
|
|
use OpenSSL::Test; # get 'plan'
|
|
use OpenSSL::Test::Simple;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_internal_asn1_dsa");
|
|
|
|
simple_test("test_internal_asn1_dsa", "asn1_dsa_internal_test");
|