diff options
author | Richard Levitte <levitte@openssl.org> | 2016-10-26 23:12:48 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-11-03 13:13:31 +0100 |
commit | 2c1661714856f75ebd17b2a881c913a08f0103b1 (patch) | |
tree | 4806b18c60caa0f901b3a12114dad7fe92f84678 /crypto/asn1/standard_methods.h | |
parent | bbdec3f24727d86a223d5af12f4e30f5723ce2fc (diff) | |
download | openssl-2c1661714856f75ebd17b2a881c913a08f0103b1.zip openssl-2c1661714856f75ebd17b2a881c913a08f0103b1.tar.gz openssl-2c1661714856f75ebd17b2a881c913a08f0103b1.tar.bz2 |
Convert asn1 selftests (a_strnid and ameth_lib) into internal test
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1789)
Diffstat (limited to 'crypto/asn1/standard_methods.h')
-rw-r--r-- | crypto/asn1/standard_methods.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crypto/asn1/standard_methods.h b/crypto/asn1/standard_methods.h new file mode 100644 index 0000000..5b8f9dd --- /dev/null +++ b/crypto/asn1/standard_methods.h @@ -0,0 +1,40 @@ +/* + * Copyright 2006-2016 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 + */ + +/* Keep this sorted in type order !! */ +static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { +#ifndef OPENSSL_NO_RSA + &rsa_asn1_meths[0], + &rsa_asn1_meths[1], +#endif +#ifndef OPENSSL_NO_DH + &dh_asn1_meth, +#endif +#ifndef OPENSSL_NO_DSA + &dsa_asn1_meths[0], + &dsa_asn1_meths[1], + &dsa_asn1_meths[2], + &dsa_asn1_meths[3], + &dsa_asn1_meths[4], +#endif +#ifndef OPENSSL_NO_EC + &eckey_asn1_meth, +#endif + &hmac_asn1_meth, +#ifndef OPENSSL_NO_CMAC + &cmac_asn1_meth, +#endif +#ifndef OPENSSL_NO_DH + &dhx_asn1_meth, +#endif +#ifndef OPENSSL_NO_EC + &ecx25519_asn1_meth +#endif +}; + |