diff options
author | Werner Koch <[email protected]> | 2004-10-22 09:41:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-10-22 09:41:56 +0000 |
commit | 9aa7d0bc353daa9728bfb69a6e775ddc82075f87 (patch) | |
tree | 20b556c54c7171aac24f345657338ca99e23cd8b /scd/app-common.h | |
parent | * logging.c (do_logv): Use set_log_stream to setup a default. (diff) | |
download | gnupg-9aa7d0bc353daa9728bfb69a6e775ddc82075f87.tar.gz gnupg-9aa7d0bc353daa9728bfb69a6e775ddc82075f87.zip |
* app-openpgp.c (do_sign): Replace asprintf by direct allocation.
This avoids problems with missing vasprintf implementations in
gnupg 1.4.
* app-common.h (app_openpgp_storekey: Add prototype.
Diffstat (limited to 'scd/app-common.h')
-rw-r--r-- | scd/app-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scd/app-common.h b/scd/app-common.h index f54f6da92..48bd349f4 100644 --- a/scd/app-common.h +++ b/scd/app-common.h @@ -88,6 +88,13 @@ struct app_ctx_s { #if GNUPG_MAJOR_VERSION == 1 int app_select_openpgp (app_t app); int app_get_serial_and_stamp (app_t app, char **serial, time_t *stamp); +int app_openpgp_storekey (app_t app, int keyno, + unsigned char *template, size_t template_len, + time_t created_at, + const unsigned char *m, size_t mlen, + const unsigned char *e, size_t elen, + int (*pincb)(void*, const char *, char **), + void *pincb_arg); #else /*-- app-help.c --*/ gpg_error_t app_help_get_keygrip_string (ksba_cert_t cert, char *hexkeygrip); |