summaryrefslogtreecommitdiff
path: root/crypto/asn1/a_digest.c
diff options
context:
space:
mode:
authorulf <ulf>1999-04-19 21:25:39 +0000
committerulf <ulf>1999-04-19 21:25:39 +0000
commitc15c32f4b8c5290db6791c652d9187716bd3d15a (patch)
tree776c0c1c5687edc8659084b838ddaadbe6b9d29e /crypto/asn1/a_digest.c
parentcb859f5141c1672fc79d198b75426dd618b1fc25 (diff)
downloadopenssl-c15c32f4b8c5290db6791c652d9187716bd3d15a.tar.gz
Change functions to ANSI C.
Diffstat (limited to 'crypto/asn1/a_digest.c')
-rw-r--r--crypto/asn1/a_digest.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/crypto/asn1/a_digest.c b/crypto/asn1/a_digest.c
index 8f395d958..20cde71f0 100644
--- a/crypto/asn1/a_digest.c
+++ b/crypto/asn1/a_digest.c
@@ -1,5 +1,5 @@
/* crypto/asn1/a_digest.c */
-/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
@@ -66,12 +66,8 @@
#include "x509.h"
#include "buffer.h"
-int ASN1_digest(i2d,type,data,md,len)
-int (*i2d)();
-EVP_MD *type;
-char *data;
-unsigned char *md;
-unsigned int *len;
+int ASN1_digest(int (*i2d)(), EVP_MD *type, char *data, unsigned char *md,
+ unsigned int *len)
{
EVP_MD_CTX ctx;
int i;