diff options
author | Andy Polyakov <appro@openssl.org> | 2004-07-25 21:10:43 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-07-25 21:10:43 +0200 |
commit | 16ab8a93bc96cacc1b5376cc084f70122368ee1f (patch) | |
tree | 0ab78377030cffb4017aa2f54bc6ad83d801c24d /crypto/mdc2 | |
parent | 'apps/openssl dgst -help' update and minor apps/speed.c update. (diff) | |
download | openssl-16ab8a93bc96cacc1b5376cc084f70122368ee1f.tar.xz openssl-16ab8a93bc96cacc1b5376cc084f70122368ee1f.zip |
Minor 64-bit md32_common.h update and minor unsignification of digests.
Diffstat (limited to 'crypto/mdc2')
-rw-r--r-- | crypto/mdc2/mdc2.h | 2 | ||||
-rw-r--r-- | crypto/mdc2/mdc2dgst.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/mdc2/mdc2.h b/crypto/mdc2/mdc2.h index 6490e5c7d3..72778a5212 100644 --- a/crypto/mdc2/mdc2.h +++ b/crypto/mdc2/mdc2.h @@ -74,7 +74,7 @@ extern "C" { typedef struct mdc2_ctx_st { - int num; + unsigned int num; unsigned char data[MDC2_BLOCK]; DES_cblock h,hh; int pad_type; /* either 1 or 2, default 1 */ diff --git a/crypto/mdc2/mdc2dgst.c b/crypto/mdc2/mdc2dgst.c index aa9ba0ee6b..4aa406edc3 100644 --- a/crypto/mdc2/mdc2dgst.c +++ b/crypto/mdc2/mdc2dgst.c @@ -160,7 +160,8 @@ static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len) int MDC2_Final(unsigned char *md, MDC2_CTX *c) { - int i,j; + unsigned int i; + int j; i=c->num; j=c->pad_type; |