aboutsummaryrefslogtreecommitdiffstats
path: root/g10/cardglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/cardglue.c')
-rw-r--r--g10/cardglue.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/g10/cardglue.c b/g10/cardglue.c
index 43f46dcd1..f0041889e 100644
--- a/g10/cardglue.c
+++ b/g10/cardglue.c
@@ -1527,3 +1527,26 @@ agent_clear_pin_cache (const char *sn)
xfree (cacheid);
}
}
+
+
+int
+agent_scd_writecert (const char *certidstr,
+ const unsigned char *certdata, size_t certdatalen)
+{
+ /* It does not make sense to implement this rarely used and mainly
+ interactive command in GPG-1. GPG-2 is better suited for this. */
+ not_in_gpg1_notice ();
+ return gpg_error (GPG_ERR_NOT_SUPPORTED);
+}
+
+
+int
+agent_scd_readcert (const char *certidstr,
+ void **r_buf, size_t *r_buflen)
+{
+ /* It does not make sense to implement this rarely used and mainly
+ interactive command in GPG-1. GPG-2 is better suited for this. */
+ *r_buf = NULL;
+ not_in_gpg1_notice ();
+ return gpg_error (GPG_ERR_NOT_SUPPORTED);
+}