diff options
author | Werner Koch <[email protected]> | 2004-02-10 19:26:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-02-10 19:26:55 +0000 |
commit | a1dd1cc223e2da077cbbe2716c12a67d00c6947e (patch) | |
tree | 234cea56cfd55783f864223e4bd79b671bc5e0bb /agent/minip12.h | |
parent | Fixed a build bug (straw letter in sm/import.c) and updated the documentation. (diff) | |
download | gnupg-a1dd1cc223e2da077cbbe2716c12a67d00c6947e.tar.gz gnupg-a1dd1cc223e2da077cbbe2716c12a67d00c6947e.zip |
* minip12.c (parse_bag_encrypted_data): Finished implementation.
(p12_parse): Add callback args.
* protect-tool.c (import_p12_cert_cb): New.
(import_p12_file): Use it.
Diffstat (limited to 'agent/minip12.h')
-rw-r--r-- | agent/minip12.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/minip12.h b/agent/minip12.h index 122215549..61a597926 100644 --- a/agent/minip12.h +++ b/agent/minip12.h @@ -24,7 +24,9 @@ #include <gcrypt.h> gcry_mpi_t *p12_parse (const unsigned char *buffer, size_t length, - const char *pw); + const char *pw, + void (*certcb)(void*, const unsigned char*, size_t), + void *certcbarg); unsigned char *p12_build (gcry_mpi_t *kparms, const char *pw, size_t *r_length); |