diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2001-03-08 14:04:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2001-03-08 14:04:22 +0000 |
commit | 2dc769a1c17e1e0c7aef6e11496c8ba2c1db2e28 (patch) | |
tree | 47bc3c6bf378e59f79c418f9956b6ed03fc4c805 /crypto/md4/md4_dgst.c | |
parent | 4f98cbabdeb50d548c83a8ca36014f3011461379 (diff) |
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/md4/md4_dgst.c')
-rw-r--r-- | crypto/md4/md4_dgst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/md4/md4_dgst.c b/crypto/md4/md4_dgst.c index 81488ae2e2..6446f5f5e7 100644 --- a/crypto/md4/md4_dgst.c +++ b/crypto/md4/md4_dgst.c @@ -70,7 +70,7 @@ const char *MD4_version="MD4" OPENSSL_VERSION_PTEXT; #define INIT_DATA_C (unsigned long)0x98badcfeL #define INIT_DATA_D (unsigned long)0x10325476L -void MD4_Init(MD4_CTX *c) +int MD4_Init(MD4_CTX *c) { c->A=INIT_DATA_A; c->B=INIT_DATA_B; @@ -79,6 +79,7 @@ void MD4_Init(MD4_CTX *c) c->Nl=0; c->Nh=0; c->num=0; + return 1; } #ifndef md4_block_host_order |