noinst_LIBRARIES = libcrypt.a
-libcrypt_a_SOURCES = crypt.h \
- crypt.c crypt-gpgme.c cryptglue.c
+libcrypt_a_SOURCES = crypt.h crypt.c crypt-gpgme.c
-noinst_HEADERS = crypt.h
+noinst_HEADERS = crypt.h
-include $(top_builddir)/tools/cflags.mk
{
gpgme_ctx_t listctx;
gpgme_error_t err;
- gpgme_key_t key;
if (!ctx || !r_key || !fpr)
return gpg_error (GPG_ERR_INV_VALUE);
unset_option (OPTDONTHANDLEPGPKEYS);
}
+
+/* TODO */
+
+/* fixme: needs documentation. */
+void crypt_pgp_invoke_getkeys (address_t * addr)
+{
+}
+
+/* Generate a PGP public key attachment. */
+BODY *crypt_pgp_make_key_attachment (char *tempf)
+{
+ return NULL;
+}
+
+/* S/MIME */
+
+/* fixme: Needs documentation. */
+void crypt_smime_getkeys (ENVELOPE * env)
+{
+}
+
+++ /dev/null
-/*
- * Copyright notice from original mutt:
- * Copyright (C) 2003 Werner Koch <wk@gnupg.org>
- * Copyright (C) 2004 g10 Code GmbH
- *
- * This file is part of mutt-ng, see http://www.muttng.org/.
- * It's licensed under the GNU General Public License,
- * please see the file GPL in the top level source directory.
- */
-
-/*
- This file dispatches the generic crypto functions to the
- implemented backend or provides dummy stubs. Note, that some
- generic functions are handled in crypt.c.
-*/
-
-/* Note: This file has been changed to make use of the new module
- system. Consequently there's a 1:1 mapping between the functions
- contained in this file and the functions implemented by the crypto
- modules. */
-
-#include <lib-lib/lib-lib.h>
-
-#include "mutt.h"
-#include "crypt.h"
-
-/* PGP */
-
-/* fixme: needs documentation. */
-void crypt_pgp_invoke_getkeys (address_t * addr)
-{
-}
-
-/* Generate a PGP public key attachment. */
-BODY *crypt_pgp_make_key_attachment (char *tempf)
-{
- return NULL;
-}
-
-/* S/MIME */
-
-/* fixme: Needs documentation. */
-void crypt_smime_getkeys (ENVELOPE * env)
-{
-}
-