[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] [PATCH] starttls fix
From: |
Simon Josefsson |
Subject: |
[bug-mailutils] [PATCH] starttls fix |
Date: |
Sun, 19 Jan 2003 11:29:55 +0100 |
User-agent: |
Gnus/5.090013 (Oort Gnus v0.13) XEmacs/21.4 (Portable Code, i686-pc-linux) |
-lgnutls seem to require -lgcrypt. With the following patch the
Mailutils STARTTLS implementation interoperate with Gnus via the
command line starttls application.
Btw, why do you enforce chmod 0600 on the certificate?
Jan 19 11:21:13 latte gnu-imap4d[11545]: Wrong permissions on
/home/jas/certs/sj.cert. Set 0600.
The certificate is generally not a secret.
Index: m4/tls.m4
===================================================================
RCS file: /cvsroot/mailutils/mailutils/m4/tls.m4,v
retrieving revision 1.2
diff -u -p -r1.2 tls.m4
--- m4/tls.m4 14 Jan 2003 11:32:19 -0000 1.2
+++ m4/tls.m4 19 Jan 2003 10:29:34 -0000
@@ -31,11 +31,12 @@ AC_DEFUN(MU_CHECK_TLS,
[WITH_GNUTLS=no])
if test "$WITH_GNUTLS" != "no"; then
saved_LIBS=$LIBS
- AC_CHECK_LIB(gnutls, gnutls_global_init,
- [TLS_LIBS="-lgnutls"],
- [WITH_GNUTLS=no])
AC_CHECK_LIB(gcrypt, main,
[TLS_LIBS="$TLS_LIBS -lgcrypt"],
+ [WITH_GNUTLS=no])
+ LIBS="$LIBS $TLS_LIBS"
+ AC_CHECK_LIB(gnutls, gnutls_global_init,
+ [TLS_LIBS="-lgnutls"],
[WITH_GNUTLS=no])
LIBS=$saved_LIBS
fi
- [bug-mailutils] [PATCH] starttls fix,
Simon Josefsson <=
- Re: [bug-mailutils] [PATCH] starttls fix, Simon Josefsson, 2003/01/19
- [bug-mailutils] Re: [PATCH] starttls fix, Wojciech Polak, 2003/01/19
- [bug-mailutils] Re: [PATCH] starttls fix, Simon Josefsson, 2003/01/19
- [bug-mailutils] Re: [PATCH] starttls fix, Wojciech Polak, 2003/01/20
- [bug-mailutils] Re: [PATCH] starttls fix, Simon Josefsson, 2003/01/20
- Re: [bug-mailutils] Re: [PATCH] starttls fix, Sergey Poznyakoff, 2003/01/20
- [bug-mailutils] Re: [PATCH] starttls fix, Wojciech Polak, 2003/01/20
- [bug-mailutils] Re: [PATCH] starttls fix, Simon Josefsson, 2003/01/20
Re: [bug-mailutils] [PATCH] starttls fix, Sergey Poznyakoff, 2003/01/19