On Tue, 24 Jul 2007, Ryan Smith wrote:

> Line 2250 of s3_srvr.c has the following conditional statement:
> 
>     if ((peer != NULL) && (type | EVP_PKT_SIGN))
> 
> As EVP_PKT_SIGN is non-zero, this boils down to:
> 
>     if ((peer != NULL) && (TRUE))

But that is a bit wise OR not a logical OR.

> 
> or just:
> 
>      if (peer != NULL)
> 
> Should the line be:
> 
>     if ((peer != NULL) && (type & EVP_PKT_SIGN))
> 
> or am I missing something?
> 
> 
> --Ryan Smith
> 

-- 
Tim Rice                                Multitalents    (707) 887-1469
[EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to