aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/md2/md2.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-03-08 14:04:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-03-08 14:04:22 +0000
commit2dc769a1c17e1e0c7aef6e11496c8ba2c1db2e28 (patch)
tree47bc3c6bf378e59f79c418f9956b6ed03fc4c805 /crypto/md2/md2.h
parent4f98cbabdeb50d548c83a8ca36014f3011461379 (diff)
downloadopenssl-2dc769a1c17e1e0c7aef6e11496c8ba2c1db2e28.tar.gz
Make EVP_Digest*() routines return a value.
TODO: update docs, and make soe other routines which use EVP_Digest*() check return codes.
Diffstat (limited to 'crypto/md2/md2.h')
-rw-r--r--crypto/md2/md2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/md2/md2.h b/crypto/md2/md2.h
index 5494afd6d8..ad9241455c 100644
--- a/crypto/md2/md2.h
+++ b/crypto/md2/md2.h
@@ -80,9 +80,9 @@ typedef struct MD2state_st
} MD2_CTX;
const char *MD2_options(void);
-void MD2_Init(MD2_CTX *c);
-void MD2_Update(MD2_CTX *c, const unsigned char *data, unsigned long len);
-void MD2_Final(unsigned char *md, MD2_CTX *c);
+int MD2_Init(MD2_CTX *c);
+int MD2_Update(MD2_CTX *c, const unsigned char *data, unsigned long len);
+int MD2_Final(unsigned char *md, MD2_CTX *c);
unsigned char *MD2(const unsigned char *d, unsigned long n,unsigned char *md);
#ifdef __cplusplus
}