]> git.marmaro.de Git - mmh/commitdiff
Removed TLS support. We don't need it anymore as we stopped talking SMTP
authormarkus schnalke <meillo@marmaro.de>
Tue, 4 Oct 2011 17:04:28 +0000 (19:04 +0200)
committermarkus schnalke <meillo@marmaro.de>
Tue, 4 Oct 2011 17:04:28 +0000 (19:04 +0200)
Libcrypto and thelike went away also, as they were needed only for TLS.

configure.in
man/mh-chart.man
man/post.man
man/send.man
uip/send.c
uip/whatnowsbr.c
uip/whom.c

index 29c0bc96e90db928b8ae3f296e8b26b5713e671c..12c29ca10a77db784841fd2ca8b5a0ffa033b515 100644 (file)
@@ -78,15 +78,6 @@ fi],
 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]))
@@ -596,17 +587,6 @@ else
 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 ---------------------
@@ -923,6 +903,5 @@ backup prefix              : ${backup_prefix}
 file locking type          : ${LOCKTYPE}
 default editor             : ${editorpath}
 default pager              : ${pagerpath}
-email address masquerading : ${masquerade}
-TLS support                : ${tls_support}"
+email address masquerading : ${masquerade}"
 echo ""
index 603e34ad00603eddba7122d70e93453fae7dc0c2..0c413f8742810f298b0993de241bdd2135c9cae6 100644 (file)
@@ -520,7 +520,6 @@ or
 .RB [ \-width
 .IR columns ]
 .I file
-.RB [ \-tls ]
 .RB [ \-version ]
 .RB [ \-help ]
 
@@ -700,7 +699,6 @@ all/to/cc/me]
 .IR seconds ]
 .RB [ \-verbose " | " \-noverbose ]
 .RB [ \-watch " | " \-nowatch ]
-.RB [ \-tls ]
 .RB [ \-width
 .IR columns ]
 .RB [ file
index 85edbc4e93989d78fd2fbdb689587d3a8b5d980c..2f771da78635776fd4347c51c51bb43aec51870e 100644 (file)
@@ -181,16 +181,6 @@ switches can be used to override the default mail server (defined by the
 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 ^ ~
index e18ed20d2a65673587f370305c9444ccc9718b73..6fa354720ab87692bdd489211406f4d567f2fb4f 100644 (file)
@@ -323,16 +323,6 @@ 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.
-.PP
 The files specified by the profile entry \*(lqAliasfile:\*(rq and any
 additional alias files given by the
 .B \-alias
index a97bab824eccbb48b9a22b8294de287ce73044da..c8b77f7a547caf74aa26a48eec2caf99442ae674 100644 (file)
 #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 },
@@ -100,8 +94,6 @@ static struct swit switches[] = {
     { "attachformat", 7 },
 #define PORTSW               42
     { "port server-port-name/number" , 4 },
-#define TLSSW                43
-    { "tls", TLSminc(-3) },
     { NULL, 0 }
 };
 
@@ -258,7 +250,6 @@ main (int argc, char **argv)
                case SENDSW: 
                case SOMLSW: 
                case SNOOPSW: 
-               case TLSSW:
                    vec[vecp++] = --cp;
                    continue;
 
index cb48bfdc6662a94330bc4357b197f7afda8ef687..4a29a64a6d60a177047835bd9b44b75532e4d567 100644 (file)
@@ -977,12 +977,6 @@ check_draft (char *msgnam)
 }
 
 
-#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 },
@@ -1062,8 +1056,6 @@ static struct swit  sendswitches[] = {
     { "attachformat", 7 },
 #define PORTSW           41
     { "port server-port-name/number", 4 },
-#define TLSSW            42
-    { "tls", TLSminc(-3) },
     { NULL, 0 }
 };
 
@@ -1217,7 +1209,6 @@ sendit (char *sp, char **arg, char *file, int pushed)
                case SSNDSW:
                case SOMLSW:
                case SNOOPSW:
-               case TLSSW:
                    vec[vecp++] = --cp;
                    continue;
 
index 1d92ea36893d6758cb52b2eac42e71ec33a62355..1b1660fa9f56e325d08a92c3c3fcc7329db4a19c 100644 (file)
 #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 },
@@ -44,8 +38,6 @@ static struct swit switches[] = {
     { "snoop", -5 },
 #define PORTSW            15
     { "port server port name/number", 4 },
-#define TLSSW             16
-    { "tls", TLSminc(-3) },
     { NULL, 0 }
 };