diff options
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; |