Make EVP_Digest*() routines return a value.

TODO: update docs, and make soe other routines
which use EVP_Digest*() check return codes.
This commit is contained in:
Dr. Stephen Henson
2001-03-08 14:04:22 +00:00
parent 4f98cbabde
commit 2dc769a1c1
17 changed files with 76 additions and 55 deletions

View File

@@ -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