aboutsummaryrefslogtreecommitdiffstats
path: root/g13/keyblob.c
diff options
context:
space:
mode:
Diffstat (limited to 'g13/keyblob.c')
-rw-r--r--g13/keyblob.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/g13/keyblob.c b/g13/keyblob.c
index cad0c4f80..8a5b622ab 100644
--- a/g13/keyblob.c
+++ b/g13/keyblob.c
@@ -28,12 +28,10 @@
#include <assert.h>
#include "g13.h"
-#include "i18n.h"
#include "mount.h"
#include "keyblob.h"
#include "../common/sysutils.h"
-#include "../common/call-gpg.h"
#include "host2net.h"
@@ -207,23 +205,3 @@ g13_keyblob_read (const char *filename,
return err;
}
-
-
-/*
- * Decrypt the keyblob (ENCKEYBLOB,ENCKEYBLOBLEN) and store the result
- * at (R_KEYBLOB, R_KEYBLOBLEN). Returns 0 on success or an error
- * code. On error R_KEYBLOB is set to NULL.
- */
-gpg_error_t
-g13_keyblob_decrypt (ctrl_t ctrl, const void *enckeyblob, size_t enckeybloblen,
- void **r_keyblob, size_t *r_keybloblen)
-{
- gpg_error_t err;
-
- /* FIXME: For now we only implement OpenPGP. */
- err = gpg_decrypt_blob (ctrl, opt.gpg_program, opt.gpg_arguments,
- enckeyblob, enckeybloblen,
- r_keyblob, r_keybloblen);
-
- return err;
-}