While patching crypto/bio/bss_dgram.c to compile openssl-0.9.8m on an
old linux glibc 2.1.13
machine I've found a problem with #ifdef in the BIO_CTRL_DGRAM_MTU_DISCOVER
case that is different from the BIO_CTRL_DGRAM_QUERY_MTU one that seem
correct to me.

440             break;
441             }
442         ret = -1;
443 #else
444         break;
445 #endif

This will always overwrite the ret value and never ececure break.
Probably should be :

440             break;
441             }
442 #else
443         ret = -1;
444 #endif
445         break;

thanks in advance,
luca

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to