aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x_all.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-05-18 00:33:00 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-05-18 00:33:00 +0000
commit439df5087f012e65b80c13ade8953778cc0b4704 (patch)
treeed0aa5c1d53f8b9b24b7c3923624a64067d68c7f /crypto/x509/x_all.c
parent0d3b0afe9e59962f92b0cc6c63fc65a8e8dbc0de (diff)
downloadopenssl-439df5087f012e65b80c13ade8953778cc0b4704.tar.gz
Fix c_rehash script, add -fingerprint option to crl.
Diffstat (limited to 'crypto/x509/x_all.c')
-rw-r--r--crypto/x509/x_all.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/x509/x_all.c b/crypto/x509/x_all.c
index d2bf3c8e1c..b67ca243dc 100644
--- a/crypto/x509/x_all.c
+++ b/crypto/x509/x_all.c
@@ -417,6 +417,18 @@ int X509_digest(X509 *data, const EVP_MD *type, unsigned char *md,
return(ASN1_digest((int (*)())i2d_X509,type,(char *)data,md,len));
}
+int X509_CRL_digest(X509_CRL *data, const EVP_MD *type, unsigned char *md,
+ unsigned int *len)
+ {
+ return(ASN1_digest((int (*)())i2d_X509_CRL,type,(char *)data,md,len));
+ }
+
+int X509_REQ_digest(X509_REQ *data, const EVP_MD *type, unsigned char *md,
+ unsigned int *len)
+ {
+ return(ASN1_digest((int (*)())i2d_X509_REQ,type,(char *)data,md,len));
+ }
+
int X509_NAME_digest(X509_NAME *data, const EVP_MD *type, unsigned char *md,
unsigned int *len)
{