[openssl-dev] [openssl.org #3793] rec_layer_s3.c and `if (&s->rlayer.read_ahead && !SSL_IS_DTLS(s))`

noloader@gmail.com via RT rt at openssl.org
Fri Apr 10 10:29:49 UTC 2015


Working from openssl-git. This could indicate something else was intended.

**********

/usr/local/bin/clang -I../crypto -I.. -I../include  -DOPENSSL_THREADS
-D_REENTRANT -g3 -O1 -Wall -fsanitize=undefined -fsanitize=address
-arch x86_64 -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM
-DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM   -c -o
record/rec_layer_s3.o record/rec_layer_s3.c
record/rec_layer_s3.c:383:20: warning: address of 's->rlayer.read_ahead' will
      always evaluate to 'true' [-Wpointer-bool-conversion]
    if (&s->rlayer.read_ahead && !SSL_IS_DTLS(s))
         ~~~~~~~~~~^~~~~~~~~~ ~~




More information about the openssl-dev mailing list