diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-03-14 13:31:42 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-03-14 13:31:42 +0000 |
commit | 0b415fb0ed560eb52f77f9239cc1e9393ed65173 (patch) | |
tree | 58422e4046a052aacf5a0bc0826bd65d20087348 /crypto/x509v3/v3_skey.c | |
parent | 199d59e5a1683aec183bf4eacbc096663357c46b (diff) | |
download | openssl-0b415fb0ed560eb52f77f9239cc1e9393ed65173.zip openssl-0b415fb0ed560eb52f77f9239cc1e9393ed65173.tar.gz openssl-0b415fb0ed560eb52f77f9239cc1e9393ed65173.tar.bz2 |
Using int for the digest length in EVP_DigestFinal() broke some compilers.
Changed to unsigned int: also need an evil cast in pk7_doit.c because a
signed, unsigned comparison chokes VC++.
Diffstat (limited to 'crypto/x509v3/v3_skey.c')
-rw-r--r-- | crypto/x509v3/v3_skey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_skey.c b/crypto/x509v3/v3_skey.c index 20c9c2c..e725d66 100644 --- a/crypto/x509v3/v3_skey.c +++ b/crypto/x509v3/v3_skey.c @@ -124,7 +124,7 @@ char *str; ASN1_BIT_STRING *pk; unsigned char pkey_dig[EVP_MAX_MD_SIZE]; EVP_MD_CTX md; - int diglen; + unsigned int diglen; if(strcmp(str, "hash")) return s2i_ASN1_OCTET_STRING(method, ctx, str); |