Mercurial > hg > nginx-quic
comparison src/mail/ngx_mail_ssl_module.c @ 8336:7ce28b4cc57e
SSL: fixed build by Sun C with old OpenSSL versions.
Sun C complains about "statement not reached" if a "return" is followed
by additional statements.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 05 Mar 2021 17:16:13 +0300 |
parents | 3bff3f397c05 |
children | 419c066cb710 |
comparison
equal
deleted
inserted
replaced
8335:529b73f75d19 | 8336:7ce28b4cc57e |
---|---|
680 static char * | 680 static char * |
681 ngx_mail_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) | 681 ngx_mail_ssl_conf_command_check(ngx_conf_t *cf, void *post, void *data) |
682 { | 682 { |
683 #ifndef SSL_CONF_FLAG_FILE | 683 #ifndef SSL_CONF_FLAG_FILE |
684 return "is not supported on this platform"; | 684 return "is not supported on this platform"; |
685 #else | |
686 return NGX_CONF_OK; | |
685 #endif | 687 #endif |
686 | |
687 return NGX_CONF_OK; | |
688 } | 688 } |