0.7.65 + openssl 1.0 from FreeBSD ports tree

ðÒÉ×ÅÔ, éÇÏÒØ.

ðÒÉ ÓÂÏÒËÅ Ó openssl 1.0 (ÉÚ ÐÏÒÔÏ×) ×ÏÚÎÉËÁÅÔ ×ÏÔ ÔÁËÏÊ warning.

cc -c -pipe -g -DNGX_DEBUG_MALLOC -g -I /usr/local/include -I src/core
-I src/event -I src/event/modules -I src/os/unix -I objs -o
objs/src/event/ngx_event_openssl.o src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.c: In function ‘ngx_ssl_handshake’:
src/event/ngx_event_openssl.c:564: warning: assignment discards
qualifiers from pointer target type

Just FYI.


Sergey A. Osokin,
[email protected]
[email protected]

On Wed, Apr 07, 2010 at 10:47:36AM +0400, Sergey A. Osokin wrote:

Привет, Игорь.

При сборке с openssl 1.0 (из портов) возникает вот такой warning.

cc -c -pipe -g -DNGX_DEBUG_MALLOC -g -I /usr/local/include -I src/core
-I src/event -I src/event/modules -I src/os/unix -I objs -o
objs/src/event/ngx_event_openssl.o src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.c: In function ‘ngx_ssl_handshake’:
src/event/ngx_event_openssl.c:564: warning: assignment discards
qualifiers from pointer target type

The attached patch should fix building.