summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/ameth_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-05-17 16:19:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-05-17 16:19:17 +0000
commite77dbf325f57cc86e6918baf36d597506e77266d (patch)
treea2b7add02088dc42b19795c70083bfcddad1ebf5 /crypto/asn1/ameth_lib.c
parentf03620ea15c4553de375258bc40bbf7a4092da90 (diff)
Prepend signature name in dgst output.
Diffstat (limited to 'crypto/asn1/ameth_lib.c')
-rw-r--r--crypto/asn1/ameth_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c
index 13129bcd7f..7c385f6dd3 100644
--- a/crypto/asn1/ameth_lib.c
+++ b/crypto/asn1/ameth_lib.c
@@ -276,6 +276,11 @@ int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *ppkey_base_id, int *ppkey_flags,
return 1;
}
+const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(EVP_PKEY *pkey)
+ {
+ return pkey->ameth;
+ }
+
EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags,
const char *pem_str, const char *info)
{