diff options
author | beck <> | 1999-09-29 04:37:45 +0000 |
---|---|---|
committer | beck <> | 1999-09-29 04:37:45 +0000 |
commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/asn1/a_digest.c | |
parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
download | openbsd-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.c | 14 |
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 | ||
69 | int ASN1_digest(i2d,type,data,md,len) | 69 | int ASN1_digest(int (*i2d)(), EVP_MD *type, char *data, unsigned char *md, |
70 | int (*i2d)(); | 70 | unsigned int *len) |
71 | EVP_MD *type; | ||
72 | char *data; | ||
73 | unsigned char *md; | ||
74 | unsigned int *len; | ||
75 | { | 71 | { |
76 | EVP_MD_CTX ctx; | 72 | EVP_MD_CTX ctx; |
77 | int i; | 73 | int i; |