projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25074d6
)
Use a new signed int ii instead of j (which is unsigned) to handle the
author
Richard Levitte
<levitte@openssl.org>
Sun, 28 May 2006 19:44:27 +0000
(19:44 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 28 May 2006 19:44:27 +0000
(19:44 +0000)
return value from sk_SSL_CIPHER_find().
ssl/s3_lib.c
patch
|
blob
|
history
diff --git
a/ssl/s3_lib.c
b/ssl/s3_lib.c
index 7a87da6105c063810738b41e1f6b3ba0bd2b2964..bfb70515b0e53d5a3f11358e69b2e3f4fdbd5298 100644
(file)
--- a/
ssl/s3_lib.c
+++ b/
ssl/s3_lib.c
@@
-2043,7
+2043,7
@@
SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
{
SSL_CIPHER *c,*ret=NULL;
STACK_OF(SSL_CIPHER) *prio, *allow;
- int i,ok;
+ int i,
ii,
ok;
unsigned int j;
#ifndef OPENSSL_NO_TLSEXT
#ifndef OPENSSL_NO_EC
@@
-2291,10
+2291,10
@@
SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
#endif /* OPENSSL_NO_TLSEXT */
if (!ok) continue;
-
j
=sk_SSL_CIPHER_find(allow,c);
- if (
j
>= 0)
+
ii
=sk_SSL_CIPHER_find(allow,c);
+ if (
ii
>= 0)
{
- ret=sk_SSL_CIPHER_value(allow,
j
);
+ ret=sk_SSL_CIPHER_value(allow,
ii
);
break;
}
}