diff options
author | ben <ben> | 1999-09-24 19:10:57 +0000 |
---|---|---|
committer | ben <ben> | 1999-09-24 19:10:57 +0000 |
commit | 575b438d080f969fae680dc237cd09fa985c5e29 (patch) | |
tree | 992f448f2213755032944c65581d879806206f86 /ssl/s3_clnt.c | |
parent | 3f63251d48093474738ae4f7166e60a7b2324788 (diff) | |
download | openssl-575b438d080f969fae680dc237cd09fa985c5e29.tar.gz |
Fix warnings.
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r-- | ssl/s3_clnt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 31a8535bb..af4bd1519 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -1460,7 +1460,7 @@ static int ssl3_send_client_verify(SSL *s) unsigned char data[MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH]; EVP_PKEY *pkey; #ifndef NO_RSA - int i=0; + unsigned u=0; #endif unsigned long n; #ifndef NO_DSA @@ -1483,13 +1483,13 @@ static int ssl3_send_client_verify(SSL *s) &(s->s3->finish_dgst1),&(data[0])); if (RSA_sign(NID_md5_sha1, data, MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH, - &(p[2]), &i, pkey->pkey.rsa) <= 0 ) + &(p[2]), &u, pkey->pkey.rsa) <= 0 ) { SSLerr(SSL_F_SSL3_SEND_CLIENT_VERIFY,ERR_R_RSA_LIB); goto err; } - s2n(i,p); - n=i+2; + s2n(u,p); + n=u+2; } else #endif |