summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/ameth_lib.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/asn1/ameth_lib.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c
index d79ea6e5b1..72ed0c4ec3 100644
--- a/src/lib/libcrypto/asn1/ameth_lib.c
+++ b/src/lib/libcrypto/asn1/ameth_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ameth_lib.c,v 1.8 2014/06/12 15:49:27 deraadt Exp $ */ 1/* $OpenBSD: ameth_lib.c,v 1.9 2014/06/22 13:17:08 deraadt Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -99,19 +99,6 @@ typedef int sk_cmp_fn_type(const char * const *a, const char * const *b);
99DECLARE_STACK_OF(EVP_PKEY_ASN1_METHOD) 99DECLARE_STACK_OF(EVP_PKEY_ASN1_METHOD)
100static STACK_OF(EVP_PKEY_ASN1_METHOD) *app_methods = NULL; 100static STACK_OF(EVP_PKEY_ASN1_METHOD) *app_methods = NULL;
101 101
102#ifdef TEST
103void
104main()
105{
106 int i;
107 for (i = 0;
108 i < sizeof(standard_methods) / sizeof(EVP_PKEY_ASN1_METHOD *); i++)
109 fprintf(stderr, "Number %d id=%d (%s)\n", i,
110 standard_methods[i]->pkey_id,
111 OBJ_nid2sn(standard_methods[i]->pkey_id));
112}
113#endif
114
115DECLARE_OBJ_BSEARCH_CMP_FN(const EVP_PKEY_ASN1_METHOD *, 102DECLARE_OBJ_BSEARCH_CMP_FN(const EVP_PKEY_ASN1_METHOD *,
116 const EVP_PKEY_ASN1_METHOD *, ameth); 103 const EVP_PKEY_ASN1_METHOD *, ameth);
117 104