Libcrypto and thelike went away also, as they were needed only for TLS.
AC_DEFINE(LOCALE)
)
-dnl Do you want client-side support for encryption with TLS?
-AC_ARG_WITH(tls, AS_HELP_STRING([--with-tls], [Enable TLS support]))
-if test x"$with_tls" != x -a x"$with_tls" != x"no"; then
- AC_DEFINE(TLS_SUPPORT, 1, [Support TLS for session encryption.])dnl
- tls_support=yes
-else
- tls_support=no
-fi
-
dnl What should be the default editor?
AC_ARG_WITH(editor,
AS_HELP_STRING([--with-editor=EDITOR],[specify the default editor]))
fi
-dnl -----------------
-dnl CHECK FOR OPENSSL
-dnl -----------------
-
-AS_IF([test x"$tls_support" = x"yes"],[
- AC_CHECK_HEADER([openssl/ssl.h], , [AC_MSG_ERROR([openssl/ssl.h not found])])
- AC_CHECK_LIB([crypto], [BIO_write], ,
- [AC_MSG_ERROR([OpenSSL crypto library not found])])
- AC_CHECK_LIB([ssl], [SSL_library_init], ,
- [AC_MSG_ERROR([OpenSSL library not found])])])
-
dnl ---------------------
dnl CHECK TERMCAP LIBRARY
dnl ---------------------
file locking type : ${LOCKTYPE}
default editor : ${editorpath}
default pager : ${pagerpath}
-email address masquerading : ${masquerade}
-TLS support : ${tls_support}"
+email address masquerading : ${masquerade}"
echo ""
.RB [ \-width
.IR columns ]
.I file
-.RB [ \-tls ]
.RB [ \-version ]
.RB [ \-help ]
.IR seconds ]
.RB [ \-verbose " | " \-noverbose ]
.RB [ \-watch " | " \-nowatch ]
-.RB [ \-tls ]
.RB [ \-width
.IR columns ]
.RB [ file
entry in
.I %etcdir%/mts.conf
).
-.PP
-If
-.B nmh
-has been compiled with TLS support, the
-.B \-tls
-switch will require the negotiation of TLS support when connecting to the
-SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and
-`(tls-decrypted)' when viewing the SMTP transction with the
-.B \-snoop
-switch.
.SH FILES
.fc ^ ~
.I %etcdir%/mts.conf
).
.PP
-If
-.B nmh
-has been compiled with TLS support, the
-.B \-tls
-switch will require the negotiation of TLS support when connecting to the
-SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and
-`(tls-decrypted)' when viewing the SMTP transction with the
-.B \-snoop
-switch.
-.PP
The files specified by the profile entry \*(lqAliasfile:\*(rq and any
additional alias files given by the
.B \-alias
#include <signal.h>
-#ifndef TLS_SUPPORT
-# define TLSminc(a) (a)
-#else /* TLS_SUPPORT */
-# define TLSminc(a) 0
-#endif /* TLS_SUPPORT */
-
static struct swit switches[] = {
#define ALIASW 0
{ "alias aliasfile", 0 },
{ "attachformat", 7 },
#define PORTSW 42
{ "port server-port-name/number" , 4 },
-#define TLSSW 43
- { "tls", TLSminc(-3) },
{ NULL, 0 }
};
case SENDSW:
case SOMLSW:
case SNOOPSW:
- case TLSSW:
vec[vecp++] = --cp;
continue;
}
-#ifndef TLS_SUPPORT
-# define TLSminc(a) (a)
-#else /* TLS_SUPPORT */
-# define TLSminc(a) 0
-#endif /* TLS_SUPPORT */
-
static struct swit sendswitches[] = {
#define ALIASW 0
{ "alias aliasfile", 0 },
{ "attachformat", 7 },
#define PORTSW 41
{ "port server-port-name/number", 4 },
-#define TLSSW 42
- { "tls", TLSminc(-3) },
{ NULL, 0 }
};
case SSNDSW:
case SOMLSW:
case SNOOPSW:
- case TLSSW:
vec[vecp++] = --cp;
continue;
#include <h/signals.h>
#include <signal.h>
-#ifndef TLS_SUPPORT
-# define TLSminc(a) (a)
-#else /* TLS_SUPPORT */
-# define TLSminc(a) 0
-#endif /* TLS_SUPPORT */
-
static struct swit switches[] = {
#define ALIASW 0
{ "alias aliasfile", 0 },
{ "snoop", -5 },
#define PORTSW 15
{ "port server port name/number", 4 },
-#define TLSSW 16
- { "tls", TLSminc(-3) },
{ NULL, 0 }
};