Welcome! Log In Create A New Profile

Advanced

[nginx] Modules compatibility: removed dependencies on NGX_MAIL_SSL.

Maxim Dounin
October 10, 2016 12:54PM
details: http://hg.nginx.org/nginx/rev/a9a50bb65120
branches:
changeset: 6737:a9a50bb65120
user: Maxim Dounin <mdounin@mdounin.ru>
date: Mon Oct 10 18:44:17 2016 +0300
description:
Modules compatibility: removed dependencies on NGX_MAIL_SSL.

External structures are now identical regardless of mail SSL module
compiled in or not.

diffstat:

src/mail/ngx_mail.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diffs (23 lines):

diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
--- a/src/mail/ngx_mail.h
+++ b/src/mail/ngx_mail.h
@@ -35,9 +35,7 @@ typedef struct {

unsigned bind:1;
unsigned wildcard:1;
-#if (NGX_MAIL_SSL)
unsigned ssl:1;
-#endif
#if (NGX_HAVE_INET6)
unsigned ipv6only:1;
#endif
@@ -54,9 +52,7 @@ typedef struct {
typedef struct {
ngx_mail_conf_ctx_t *ctx;
ngx_str_t addr_text;
-#if (NGX_MAIL_SSL)
ngx_uint_t ssl; /* unsigned ssl:1; */
-#endif
} ngx_mail_addr_conf_t;

typedef struct {

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Modules compatibility: removed dependencies on NGX_MAIL_SSL.

Maxim Dounin 427 October 10, 2016 12:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready