summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_digest.c
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/asn1/a_digest.c
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/asn1/a_digest.c')
-rw-r--r--src/lib/libcrypto/asn1/a_digest.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/libcrypto/asn1/a_digest.c b/src/lib/libcrypto/asn1/a_digest.c
index 8ddb65b0dc..8c45add557 100644
--- a/src/lib/libcrypto/asn1/a_digest.c
+++ b/src/lib/libcrypto/asn1/a_digest.c
@@ -62,16 +62,12 @@
62#include <sys/stat.h> 62#include <sys/stat.h>
63 63
64#include "cryptlib.h" 64#include "cryptlib.h"
65#include "evp.h" 65#include <openssl/evp.h>
66#include "x509.h" 66#include <openssl/buffer.h>
67#include "buffer.h" 67#include <openssl/x509.h>
68 68
69int ASN1_digest(i2d,type,data,md,len) 69int ASN1_digest(int (*i2d)(), EVP_MD *type, char *data, unsigned char *md,
70int (*i2d)(); 70 unsigned int *len)
71EVP_MD *type;
72char *data;
73unsigned char *md;
74unsigned int *len;
75 { 71 {
76 EVP_MD_CTX ctx; 72 EVP_MD_CTX ctx;
77 int i; 73 int i;