diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1999-02-25 10:47:24 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1999-02-25 10:47:24 +0000 |
commit | 8aef252bf4a737bfb10eed1b5d49f44b5ea218d5 (patch) | |
tree | d58d73943472980ff3201f4fe81f71dc6dc1e950 /crypto | |
parent | 4f9b306ca7495207b23f08aaabf0e7e25857e48b (diff) | |
download | openssl-8aef252bf4a737bfb10eed1b5d49f44b5ea218d5.tar.gz |
Change type of another md_len variable in pk7_doit.c:PKCS7_dataFinal()
from `int' to `unsigned int' because it's a length and initialized by
EVP_DigestFinal() which expects an `unsigned int *'.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Reviewed by: Ralf S. Engelschall
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/pkcs7/pk7_doit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c index 21027adbd3..9d590f595c 100644 --- a/crypto/pkcs7/pk7_doit.c +++ b/crypto/pkcs7/pk7_doit.c @@ -715,7 +715,7 @@ PKCS7_SIGNER_INFO *si; if ((sk != NULL) && (sk_num(sk) != 0)) { unsigned char md_dat[EVP_MAX_MD_SIZE]; - int md_len; + unsigned int md_len; ASN1_OCTET_STRING *message_digest; EVP_DigestFinal(&mdc_tmp,md_dat,&md_len); |