diff options
Diffstat (limited to 'crypto/md4')
-rw-r--r-- | crypto/md4/Makefile.ssl | 2 | ||||
-rw-r--r-- | crypto/md4/md4.h | 2 | ||||
-rw-r--r-- | crypto/md4/md4test.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/md4/Makefile.ssl b/crypto/md4/Makefile.ssl index c13a037467..d1eb9519f9 100644 --- a/crypto/md4/Makefile.ssl +++ b/crypto/md4/Makefile.ssl @@ -54,7 +54,7 @@ links: @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) install: - @for i in $(EXHEADER) ; \ + @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ do \ (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ diff --git a/crypto/md4/md4.h b/crypto/md4/md4.h index 9a5b6603fe..b080cbdc21 100644 --- a/crypto/md4/md4.h +++ b/crypto/md4/md4.h @@ -101,7 +101,7 @@ typedef struct MD4state_st MD4_LONG A,B,C,D; MD4_LONG Nl,Nh; MD4_LONG data[MD4_LBLOCK]; - int num; + unsigned int num; } MD4_CTX; int MD4_Init(MD4_CTX *c); diff --git a/crypto/md4/md4test.c b/crypto/md4/md4test.c index 21a77d96f7..5da53382c9 100644 --- a/crypto/md4/md4test.c +++ b/crypto/md4/md4test.c @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) i=1; while (*P != NULL) { - EVP_Digest(&(P[0][0]),(unsigned long)strlen((char *)*P),md,NULL,EVP_md4(), NULL); + EVP_Digest(&(P[0][0]),strlen((char *)*P),md,NULL,EVP_md4(), NULL); p=pt(md); if (strcmp(p,(char *)*R) != 0) { |