reorganize code a lot: create a lib-crypt with everything smime or gpg
authorPierre Habouzit <madcoder@debian.org>
Sun, 5 Nov 2006 00:40:46 +0000 (01:40 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sun, 5 Nov 2006 00:40:46 +0000 (01:40 +0100)
related

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
49 files changed:
Makefile.am
attach.c
commands.c
compose.c
configure.ac
copy.c
crypt-gpgme.c
crypt-gpgme.h
crypt-mod-pgp-gpgme.c
crypt-mod-smime-gpgme.c
curs_main.c
handler.c
hdrline.c
headers.c
hook.c
init.c
keymap.c
lib-crypt/crypt-mod-pgp-classic.c [moved from crypt-mod-pgp-classic.c with 100% similarity]
lib-crypt/crypt-mod-smime-classic.c [moved from crypt-mod-smime-classic.c with 100% similarity]
lib-crypt/crypt-mod.c [moved from crypt-mod.c with 100% similarity]
lib-crypt/crypt-mod.h [moved from crypt-mod.h with 99% similarity]
lib-crypt/crypt.c [moved from crypt.c with 99% similarity]
lib-crypt/crypt.h [moved from mutt_crypt.h with 100% similarity]
lib-crypt/cryptglue.c [moved from cryptglue.c with 99% similarity]
lib-crypt/gnupgparse.c [moved from gnupgparse.c with 100% similarity]
lib-crypt/pgp.c [moved from pgp.c with 99% similarity]
lib-crypt/pgp.h [moved from pgp.h with 99% similarity]
lib-crypt/pgpinvoke.c [moved from pgpinvoke.c with 100% similarity]
lib-crypt/pgpkey.c [moved from pgpkey.c with 100% similarity]
lib-crypt/pgplib.c [moved from pgplib.c with 100% similarity]
lib-crypt/pgplib.h [moved from pgplib.h with 98% similarity]
lib-crypt/pgpmicalg.c [moved from pgpmicalg.c with 100% similarity]
lib-crypt/pgppacket.c [moved from pgppacket.c with 100% similarity]
lib-crypt/pgppacket.h [moved from pgppacket.h with 100% similarity]
lib-crypt/smime.c [moved from smime.c with 99% similarity]
lib-crypt/smime.h [moved from smime.h with 97% similarity]
main.c
muttlib.c
mx.c
nntp/nntp.c
pager.c
parse.c
pattern.c
pgppubring.c
pop/pop.c
postpone.c
recvattach.c
send.c
sendlib.c

index fbb9ded..a0cf9fe 100644 (file)
@@ -10,7 +10,7 @@ NNTP_INCLUDES = -I$(top_srcdir)/nntp
 endif
 
 SUBDIRS = intl m4 po doc contrib \
 endif
 
 SUBDIRS = intl m4 po doc contrib \
-         lib-lib lib-mime lib-hash lib \
+         lib-lib lib-mime lib-crypt lib-hash lib \
          pop imap $(NNTP_SUBDIR)
 
 bin_SCRIPTS = muttngbug fleang
          pop imap $(NNTP_SUBDIR)
 
 bin_SCRIPTS = muttngbug fleang
@@ -20,8 +20,8 @@ BUILT_SOURCES = keymap_defs.h version.h
 bin_PROGRAMS = muttng muttng_dotlock pgpringng pgpewrapng smime_keysng
 muttng_SOURCES = $(BUILT_SOURCES) \
        alias.c attach.c base64.c browser.c buffy.c \
 bin_PROGRAMS = muttng muttng_dotlock pgpringng pgpewrapng smime_keysng
 muttng_SOURCES = $(BUILT_SOURCES) \
        alias.c attach.c base64.c browser.c buffy.c \
-       charset.c color.c compress.c crypt.c cryptglue.c commands.c complete.c \
-       compose.c copy.c curs_lib.c curs_main.c crypt-mod.c crypt-mod.h \
+       charset.c color.c compress.c commands.c complete.c \
+       compose.c copy.c curs_lib.c curs_main.c \
        date.c edit.c editmsg.c enter.c \
        flags.c filter.c from.c getdomain.c \
        handler.c hcache.c hdrline.c headers.c help.c history.c hook.c \
        date.c edit.c editmsg.c enter.c \
        flags.c filter.c from.c getdomain.c \
        handler.c hcache.c hdrline.c headers.c help.c history.c hook.c \
@@ -31,19 +31,17 @@ muttng_SOURCES = $(BUILT_SOURCES) \
        recvattach.c recvcmd.c rfc1524.c rfc3676.c \
        score.c send.c sendlib.c sidebar.c signal.c sort.c state.c status.c system.c \
        thread.c url.c utf8.c wcwidth.c \
        recvattach.c recvcmd.c rfc1524.c rfc3676.c \
        score.c send.c sendlib.c sidebar.c signal.c sort.c state.c status.c system.c \
        thread.c url.c utf8.c wcwidth.c \
-       account.c mutt_socket.c mutt_tunnel.c \
-       pgp.c pgpinvoke.c pgpkey.c pgplib.c gnupgparse.c pgpmicalg.c pgppacket.c \
-       crypt-mod-pgp-classic.c smime.c crypt-mod-smime-classic.c
-
+       account.c mutt_socket.c mutt_tunnel.c
 
 muttng_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
               -Limap -limap -Lpop -lpop $(LIBNNTP) \
 
 muttng_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
               -Limap -limap -Lpop -lpop $(LIBNNTP) \
-              -Llib-lib -llib -Llib-mime -lmime -Llib-hash -lhash \
+              -Llib-lib -llib -Llib-mime -lmime -Llib-crypt -lcrypt -Llib-hash -lhash \
               -Llib -lsane $(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
 
 muttng_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
                      $(top_builddir)/lib-lib/liblib.a \
                      $(top_builddir)/lib-mime/libmime.a \
               -Llib -lsane $(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
 
 muttng_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
                      $(top_builddir)/lib-lib/liblib.a \
                      $(top_builddir)/lib-mime/libmime.a \
+                     $(top_builddir)/lib-crypt/libcrypt.a \
                      $(top_builddir)/lib-hash/libhash.a \
                      $(top_builddir)/lib/libsane.a \
                      \
                      $(top_builddir)/lib-hash/libhash.a \
                      $(top_builddir)/lib/libsane.a \
                      \
@@ -67,8 +65,7 @@ CPPFLAGS=@CPPFLAGS@ -I$(includedir)
 
 EXTRA_muttng_SOURCES = \
        account.c mutt_sasl.c mutt_socket.c mutt_ssl.c \
 
 EXTRA_muttng_SOURCES = \
        account.c mutt_sasl.c mutt_socket.c mutt_ssl.c \
-       mutt_tunnel.c pgp.c pgpinvoke.c pgpkey.c \
-       pgplib.c pgpmicalg.c gnupgparse.c resize.c dotlock.c remailer.c \
+       mutt_tunnel.c resize.c dotlock.c remailer.c \
        alias.h browser.h enter.h \
        mbyte.h remailer.h url.h state.h \
        mutt_idna.h mutt_libesmtp.c sidebar.h state.h
        alias.h browser.h enter.h \
        mbyte.h remailer.h url.h state.h \
        mutt_idna.h mutt_libesmtp.c sidebar.h state.h
@@ -82,9 +79,8 @@ EXTRA_DIST = config.rpath  COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO \
        globals.h history.h init.h keymap.h mutt_crypt.h \
        mime.h mutt.h mutt_curses.h mutt_menu.h \
        mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h \
        globals.h history.h init.h keymap.h mutt_crypt.h \
        mime.h mutt.h mutt_curses.h mutt_menu.h \
        mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h \
-       mbox.h mh.h mx.h pager.h pgp.h protos.h rfc1524.h \
-       rfc3676.h \
-       sort.h mime.types autogen.sh \
+       mbox.h mh.h mx.h pager.h protos.h rfc1524.h \
+       rfc3676.h sort.h mime.types autogen.sh \
        _regex.h OPS.MIX remailer.c remailer.h browser.h state.h \
        mbyte.h lib.h extlib.c pgpewrap.c smime_keys.pl pgplib.h Muttngrc.head Muttngrc \
        makedoc.c stamp-doc-rc README.SSL smime.h\
        _regex.h OPS.MIX remailer.c remailer.h browser.h state.h \
        mbyte.h lib.h extlib.c pgpewrap.c smime_keys.pl pgplib.h Muttngrc.head Muttngrc \
        makedoc.c stamp-doc-rc README.SSL smime.h\
@@ -96,9 +92,9 @@ muttng_dotlock_SOURCES = dotlock.c
 muttng_dotlock_LDADD = -Llib-lib -llib @LIBOBJS@
 muttng_dotlock_DEPENDENCIES = @LIBOBJS@ $(top_builddir)/lib-lib/liblib.a
 
 muttng_dotlock_LDADD = -Llib-lib -llib @LIBOBJS@
 muttng_dotlock_DEPENDENCIES = @LIBOBJS@ $(top_builddir)/lib-lib/liblib.a
 
-pgpringng_SOURCES = pgppubring.c pgplib.c lib.c extlib.c pgppacket.c
+pgpringng_SOURCES = pgppubring.c lib.c extlib.c
 pgpringng_LDADD = @LIBOBJS@ $(INTLLIBS) \
 pgpringng_LDADD = @LIBOBJS@ $(INTLLIBS) \
-                 -Llib-lib -llib -Llib-hash -lhash -Llib -lsane
+                 -Llib-lib -llib -Llib-hash -lhash -Llib-crypt -lcrypt -Llib -lsane
 pgpringng_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS) \
                         $(top_builddir)/lib-lib/liblib.a \
                         $(top_builddir)/lib-hash/libhash.a
 pgpringng_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS) \
                         $(top_builddir)/lib-lib/liblib.a \
                         $(top_builddir)/lib-hash/libhash.a
index c311ba2..3f6a9ac 100644 (file)
--- a/attach.c
+++ b/attach.c
@@ -30,7 +30,7 @@
 #include "pager.h"
 #include "copy.h"
 #include "mx.h"
 #include "pager.h"
 #include "copy.h"
 #include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #include "lib/debug.h"
 
 
 #include "lib/debug.h"
 
index a9f3298..83604ca 100644 (file)
@@ -28,7 +28,7 @@
 #include "copy.h"
 #include "mx.h"
 #include "pager.h"
 #include "copy.h"
 #include "mx.h"
 #include "pager.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 #include "rfc1524.h"
 #include <sys/types.h>
 #include "mutt_idna.h"
 #include "rfc1524.h"
 #include <sys/types.h>
index f449b1e..d99a850 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -142,7 +142,7 @@ static void snd_entry (char *b, ssize_t blen, MUTTMENU * menu, int num) {
                      M_FORMAT_STAT_FILE | M_FORMAT_ARROWCURSOR);
 }
 
                      M_FORMAT_STAT_FILE | M_FORMAT_ARROWCURSOR);
 }
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 static void redraw_crypt_lines (HEADER * msg)
 {
 
 static void redraw_crypt_lines (HEADER * msg)
 {
index 84b2142..db07ae4 100644 (file)
@@ -999,6 +999,7 @@ AC_OUTPUT(Makefile intl/Makefile m4/Makefile
         muttbug.sh
         lib-lib/Makefile
         lib-mime/Makefile
         muttbug.sh
         lib-lib/Makefile
         lib-mime/Makefile
+        lib-crypt/Makefile
         lib-hash/Makefile
         lib/Makefile
         imap/Makefile
         lib-hash/Makefile
         lib/Makefile
         imap/Makefile
diff --git a/copy.c b/copy.c
index 989f3ce..97b73c0 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -23,7 +23,7 @@
 #include "handler.h"
 #include "mx.h"
 #include "copy.h"
 #include "handler.h"
 #include "mx.h"
 #include "copy.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 
 #include "lib/debug.h"
 #include "mutt_idna.h"
 
 #include "lib/debug.h"
index a3dedae..145a6e0 100644 (file)
@@ -27,7 +27,7 @@
 #include <lib-mime/mime.h>
 
 #include "mutt.h"
 #include <lib-mime/mime.h>
 
 #include "mutt.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_menu.h"
 #include "mutt_curses.h"
 #include "handler.h"
 #include "mutt_menu.h"
 #include "mutt_curses.h"
 #include "handler.h"
index db048be..74e5a38 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef CRYPT_GPGME_H
 #define CRYPT_GPGME_H
 
 #ifndef CRYPT_GPGME_H
 #define CRYPT_GPGME_H
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 void pgp_gpgme_init (void);
 void smime_gpgme_init (void);
 
 void pgp_gpgme_init (void);
 void smime_gpgme_init (void);
index cd18717..977a8c1 100644 (file)
@@ -17,7 +17,7 @@
 
 #ifdef CRYPT_BACKEND_GPGME
 
 
 #ifdef CRYPT_BACKEND_GPGME
 
-#include "crypt-mod.h"
+#include <lib-crypt/crypt-mod.h>
 #include "crypt-gpgme.h"
 
 static void crypt_mod_pgp_init (void)
 #include "crypt-gpgme.h"
 
 static void crypt_mod_pgp_init (void)
index fdf391b..31e882f 100644 (file)
@@ -17,7 +17,7 @@
 
 #ifdef CRYPT_BACKEND_GPGME
 
 
 #ifdef CRYPT_BACKEND_GPGME
 
-#include "crypt-mod.h"
+#include <lib-crypt/crypt-mod.h>
 #include "crypt-gpgme.h"
 
 static void crypt_mod_smime_init (void)
 #include "crypt-gpgme.h"
 
 static void crypt_mod_smime_init (void)
index c241ff6..4341a71 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <imap/imap_private.h>
 
 
 #include <imap/imap_private.h>
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #ifdef USE_NNTP
 #include "nntp.h"
 
 #ifdef USE_NNTP
 #include "nntp.h"
index abde630..a693fe6 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -35,7 +35,7 @@
 #include "keymap.h"
 #include "copy.h"
 #include "charset.h"
 #include "keymap.h"
 #include "copy.h"
 #include "charset.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "state.h"
 #include "attach.h"
 #include "lib.h"
 #include "state.h"
 #include "attach.h"
 #include "lib.h"
index 79b3ea5..72a1674 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -16,7 +16,7 @@
 #include "sort.h"
 #include "thread.h"
 #include "charset.h"
 #include "sort.h"
 #include "thread.h"
 #include "charset.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 
 #include <lib-lib/str.h>
 #include "mutt_idna.h"
 
 #include <lib-lib/str.h>
index 1e95ed6..3ffd819 100644 (file)
--- a/headers.c
+++ b/headers.c
@@ -16,7 +16,7 @@
 #include <lib-lib/file.h>
 
 #include "mutt.h"
 #include <lib-lib/file.h>
 
 #include "mutt.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 
 #include "lib/debug.h"
 #include "mutt_idna.h"
 
 #include "lib/debug.h"
diff --git a/hook.c b/hook.c
index 4eb6e01..7347939 100644 (file)
--- a/hook.c
+++ b/hook.c
@@ -19,7 +19,7 @@
 
 #include "mutt.h"
 #include "mx.h"
 
 #include "mutt.h"
 #include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "compress.h"
 
 #include "lib/rx.h"
 #include "compress.h"
 
 #include "lib/rx.h"
diff --git a/init.c b/init.c
index 1c32270..fd047b6 100644 (file)
--- a/init.c
+++ b/init.c
@@ -29,7 +29,7 @@
 #include "mbyte.h"
 #include "charset.h"
 #include "thread.h"
 #include "mbyte.h"
 #include "charset.h"
 #include "thread.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 
 #if defined(USE_SSL) || defined(USE_GNUTLS)
 #include "mutt_idna.h"
 
 #if defined(USE_SSL) || defined(USE_GNUTLS)
index 272fe0a..6205bae 100644 (file)
--- a/keymap.c
+++ b/keymap.c
@@ -22,7 +22,7 @@
 #include "mutt_menu.h"
 #include "mutt_curses.h"
 #include "keymap.h"
 #include "mutt_menu.h"
 #include "mutt_curses.h"
 #include "keymap.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 
 #include <stdlib.h>
 
 
 #include <stdlib.h>
similarity index 100%
rename from crypt-mod.c
rename to lib-crypt/crypt-mod.c
similarity index 99%
rename from crypt-mod.h
rename to lib-crypt/crypt-mod.h
index c6846f6..679b81e 100644 (file)
@@ -11,7 +11,7 @@
 #define CRYPTOGRAPHY_H
 
 #include "mutt.h"
 #define CRYPTOGRAPHY_H
 
 #include "mutt.h"
-#include "mutt_crypt.h"
+#include "crypt.h"
 
 /* 
     Type defintions for crypto module functions.
 
 /* 
     Type defintions for crypto module functions.
similarity index 99%
rename from crypt.c
rename to lib-crypt/crypt.c
index bc44714..66b8531 100644 (file)
--- a/crypt.c
@@ -28,7 +28,7 @@
 #include "handler.h"
 #include "mutt_curses.h"
 #include "copy.h"
 #include "handler.h"
 #include "mutt_curses.h"
 #include "copy.h"
-#include "mutt_crypt.h"
+#include "crypt.h"
 #include "pgp.h"
 
 
 #include "pgp.h"
 
 
similarity index 100%
rename from mutt_crypt.h
rename to lib-crypt/crypt.h
similarity index 99%
rename from cryptglue.c
rename to lib-crypt/cryptglue.c
index d76fa44..151cbad 100644 (file)
 #include <lib-lib/macros.h>
 
 #include "mutt.h"
 #include <lib-lib/macros.h>
 
 #include "mutt.h"
-#include "mutt_crypt.h"
+#include "crypt.h"
 
 
 #include "crypt-mod.h"
 
 /*
 
 
 #include "crypt-mod.h"
 
 /*
-    
     Generic
     Generic
-
 */
 
 extern struct crypt_module_specs crypt_mod_pgp_classic;
 */
 
 extern struct crypt_module_specs crypt_mod_pgp_classic;
similarity index 100%
rename from gnupgparse.c
rename to lib-crypt/gnupgparse.c
similarity index 99%
rename from pgp.c
rename to lib-crypt/pgp.c
index c6e19e6..26f79d9 100644 (file)
--- a/pgp.c
@@ -59,7 +59,7 @@
 # include <sys/resource.h>
 #endif
 
 # include <sys/resource.h>
 #endif
 
-#include "mutt_crypt.h"
+#include "crypt.h"
 #include "mutt_menu.h"
 
 
 #include "mutt_menu.h"
 
 
similarity index 99%
rename from pgp.h
rename to lib-crypt/pgp.h
index 26bdbb0..30e17b8 100644 (file)
--- a/pgp.h
@@ -9,7 +9,7 @@
  * please see the file GPL in the top level source directory.
  */
 
  * please see the file GPL in the top level source directory.
  */
 
-#include "mutt_crypt.h"
+#include "crypt.h"
 #include "pgplib.h"
 
 
 #include "pgplib.h"
 
 
similarity index 100%
rename from pgpinvoke.c
rename to lib-crypt/pgpinvoke.c
similarity index 100%
rename from pgpkey.c
rename to lib-crypt/pgpkey.c
similarity index 100%
rename from pgplib.c
rename to lib-crypt/pgplib.c
similarity index 98%
rename from pgplib.h
rename to lib-crypt/pgplib.h
index a5f5362..ace0e3d 100644 (file)
--- a/pgplib.h
@@ -8,7 +8,7 @@
  * please see the file GPL in the top level source directory.
  */
 
  * please see the file GPL in the top level source directory.
  */
 
-#include "mutt_crypt.h"
+#include "crypt.h"
 
 typedef struct pgp_signature {
   struct pgp_signature *next;
 
 typedef struct pgp_signature {
   struct pgp_signature *next;
similarity index 100%
rename from pgpmicalg.c
rename to lib-crypt/pgpmicalg.c
similarity index 100%
rename from pgppacket.c
rename to lib-crypt/pgppacket.c
similarity index 100%
rename from pgppacket.h
rename to lib-crypt/pgppacket.h
similarity index 99%
rename from smime.c
rename to lib-crypt/smime.c
index e9f64f1..3040268 100644 (file)
--- a/smime.c
@@ -49,7 +49,7 @@
 # include <sys/resource.h>
 #endif
 
 # include <sys/resource.h>
 #endif
 
-#include "mutt_crypt.h"
+#include "crypt.h"
 
 struct smime_command_context {
   const char *key;              /* %k */
 
 struct smime_command_context {
   const char *key;              /* %k */
similarity index 97%
rename from smime.h
rename to lib-crypt/smime.h
index dbf9a3f..452946f 100644 (file)
--- a/smime.h
@@ -9,7 +9,7 @@
  */
 
 
  */
 
 
-#include "mutt_crypt.h"
+#include "crypt.h"
 
 void smime_void_passphrase (void);
 int smime_valid_passphrase (void);
 
 void smime_void_passphrase (void);
 int smime_valid_passphrase (void);
diff --git a/main.c b/main.c
index 3596712..32669b1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -28,7 +28,7 @@
 #include "mx.h"
 #include "buffy.h"
 #include "sort.h"
 #include "mx.h"
 #include "buffy.h"
 #include "sort.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_curses.h"
 #include "keymap.h"
 #include "url.h"
 #include "mutt_curses.h"
 #include "keymap.h"
 #include "url.h"
index 6892168..e3a7cad 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -33,7 +33,7 @@
 #include <imap/imap.h>
 #include <imap/mx_imap.h>
 
 #include <imap/imap.h>
 #include <imap/mx_imap.h>
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #include "lib/debug.h"
 
 
 #include "lib/debug.h"
 
diff --git a/mx.c b/mx.c
index 28ba348..b1efdce 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -48,7 +48,7 @@
 #include "dotlock.h"
 #endif
 
 #include "dotlock.h"
 #endif
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #include "lib/list.h"
 #include "lib/debug.h"
 
 #include "lib/list.h"
 #include "lib/debug.h"
index 34d7746..0c7af82 100644 (file)
@@ -30,7 +30,7 @@
 #include "sidebar.h"
 #include "buffy.h"
 
 #include "sidebar.h"
 #include "buffy.h"
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #include "lib/debug.h"
 
 
 #include "lib/debug.h"
 
diff --git a/pager.c b/pager.c
index ce473ed..9f3dc2a 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -37,7 +37,7 @@
 
 #include <imap/imap_private.h>
 
 
 #include <imap/imap_private.h>
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #include "lib/rx.h"
 #include "lib/debug.h"
 
 #include "lib/rx.h"
 #include "lib/debug.h"
diff --git a/parse.c b/parse.c
index cd78866..c998fc3 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -23,7 +23,7 @@
 #include "enter.h"
 #include "recvattach.h"
 #include "mx.h"
 #include "enter.h"
 #include "recvattach.h"
 #include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "url.h"
 
 #include "lib/rx.h"
 #include "url.h"
 
 #include "lib/rx.h"
index a61e7e9..6f5e66a 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -37,7 +37,7 @@
 #include <unistd.h>
 #include <stdarg.h>
 
 #include <unistd.h>
 #include <stdarg.h>
 
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 static int eat_regexp (pattern_t * pat, BUFFER *, BUFFER *);
 static int eat_date (pattern_t * pat, BUFFER *, BUFFER *);
 
 static int eat_regexp (pattern_t * pat, BUFFER *, BUFFER *);
 static int eat_date (pattern_t * pat, BUFFER *, BUFFER *);
index bb27da1..7b297ed 100644 (file)
@@ -46,8 +46,8 @@ extern int optind;
 short Umask;   /* dirty hack because we need Umask in lib.c but don't want globals.h there */
 
 #include "lib.h"
 short Umask;   /* dirty hack because we need Umask in lib.c but don't want globals.h there */
 
 #include "lib.h"
-#include "pgplib.h"
-#include "pgppacket.h"
+#include <lib-crypt/pgplib.h>
+#include <lib-crypt/pgppacket.h>
 
 #define MD5_DIGEST_LENGTH  16
 
 
 #define MD5_DIGEST_LENGTH  16
 
index 73936d1..904f122 100644 (file)
--- a/pop/pop.c
+++ b/pop/pop.c
@@ -19,7 +19,7 @@
 #include "mutt.h"
 #include "mx.h"
 #include "pop.h"
 #include "mutt.h"
 #include "mx.h"
 #include "pop.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_curses.h"
 
 #include "lib/debug.h"
 #include "mutt_curses.h"
 
 #include "lib/debug.h"
index 4d34734..e73b39b 100644 (file)
@@ -29,7 +29,7 @@
 #include "sort.h"
 #include "thread.h"
 #include "mx.h"
 #include "sort.h"
 #include "thread.h"
 #include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 #include <imap/imap.h>
 #include <imap/mx_imap.h>
 
 #include <imap/imap.h>
 #include <imap/mx_imap.h>
index ea535ef..ec57733 100644 (file)
@@ -31,7 +31,7 @@
 #include "attach.h"
 #include "mx.h"
 #include "copy.h"
 #include "attach.h"
 #include "mx.h"
 #include "copy.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 
 
 #include <ctype.h>
 
 
 #include <ctype.h>
diff --git a/send.c b/send.c
index 3609f77..cf15950 100644 (file)
--- a/send.c
+++ b/send.c
@@ -26,7 +26,7 @@
 #include "keymap.h"
 #include "copy.h"
 #include "mx.h"
 #include "keymap.h"
 #include "copy.h"
 #include "mx.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 #include "url.h"
 #include "attach.h"
 #include "mutt_idna.h"
 #include "url.h"
 #include "attach.h"
index fc8462d..03dd11a 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -29,7 +29,7 @@
 #include "copy.h"
 #include "pager.h"
 #include "charset.h"
 #include "copy.h"
 #include "pager.h"
 #include "charset.h"
-#include "mutt_crypt.h"
+#include <lib-crypt/crypt.h>
 #include "mutt_idna.h"
 
 #include "lib/debug.h"
 #include "mutt_idna.h"
 
 #include "lib/debug.h"