diff options
author | Werner Koch <[email protected]> | 2002-06-26 12:49:59 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-06-26 12:49:59 +0000 |
commit | 06cd423a8b14ae91d5b0b248a90516c92db4d54e (patch) | |
tree | fc6e43b3d22f30eccd217d1fb63978717406d8e8 /doc | |
parent | Make the signatureCertificateDaysLeftToExpiry() work as expected. (diff) | |
download | gpgme-06cd423a8b14ae91d5b0b248a90516c92db4d54e.tar.gz gpgme-06cd423a8b14ae91d5b0b248a90516c92db4d54e.zip |
* gpgsm/t-import.c (print_op_info): New.
(main): Print operation info.
* engine-gpgsm.c (map_assuan_error): Map No_Data_Available to EOF.
* import.c (append_xml_impinfo): Kludge to print fingerprint
instead of keyid for use with gpgsm.
(import_status_handler): Set a flag to know whether any import
occured.
(gpgme_op_import): Reurn -1 if no certificate ewas imported.
* gpgme.texi (Importing Keys): Document the return value -1 of
gpgme_op_import.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/gpgme.texi | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 3c9cee8d..fcf65e30 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-26 Werner Koch <[email protected]> + + * gpgme.texi (Importing Keys): Document the return value -1 of + gpgme_op_import. + 2002-06-20 Werner Koch <[email protected]> * gpgme.texi (Verify): Explain the new whatidx variable. diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 9f07ee92..24e9f928 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -1900,8 +1900,9 @@ More information about the import is available with The function returns @code{GPGME_No_Error} if the import was completed successfully, @code{GPGME_Invalid_Value} if @var{keydata} if @var{ctx} -or @var{keydata} is not a valid pointer, and @code{GPGME_No_Data} if -@var{keydata} is an empty data buffer. +or @var{keydata} is not a valid pointer, @code{GPGME_No_Data} if +@var{keydata} is an empty data buffer, and @code{GPGME_EOF} if the +operation was completed successfully but no data was actually imported. @end deftypefun @deftypefun GpgmeError gpgme_op_import_start (@w{GpgmeCtx @var{ctx}}, @w{GpgmeData @var{keydata}}) |