> Got those kind of messages when compiling openssl 1.0.1: > cbc128.c:175:6: warning: dereferencing type-punned pointer will break > strict-aliasing rules [-Wstrict-aliasing] > *(size_t *)(tmp.c+n) ^ *(size_t *)(ivec+n); > ^ > gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include > -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H > -Wa,--noexecstack -m64 -DL_ENDIAN -DTERMIO -O3 -Wall# > gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include > -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H > -Wa,--noexecstack -m64 -DL_ENDIAN -DTERMIO -O3 -Wall# > cts128.c: In function ‘CRYPTO_cts128_encrypt’: > cts128.c:114:3: warning: dereferencing type-punned pointer will break > strict-aliasing rules [-Wstrict-aliasing] > *(size_t *)(tmp.c+n) = 0; > ^
These were fixed in November 2012. Today warnings even in gcm128.c were addressed. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
