core: Also allow GPGME_EXPORT_MODE_SSH for gpgme_op_export.

* src/export.c (export_start): Allow that mode.
--

The test tools uses gpgme_op-export_ext and thus did not caught it.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2020-07-16 16:47:31 +02:00
parent 7f9e0ca57b
commit dfeedcc28d
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -123,6 +123,7 @@ export_start (gpgme_ctx_t ctx, int synchronous, const char *pattern,
if ((mode & ~(GPGME_EXPORT_MODE_EXTERN if ((mode & ~(GPGME_EXPORT_MODE_EXTERN
|GPGME_EXPORT_MODE_MINIMAL |GPGME_EXPORT_MODE_MINIMAL
|GPGME_EXPORT_MODE_SECRET |GPGME_EXPORT_MODE_SECRET
|GPGME_EXPORT_MODE_SSH
|GPGME_EXPORT_MODE_RAW |GPGME_EXPORT_MODE_RAW
|GPGME_EXPORT_MODE_NOUID |GPGME_EXPORT_MODE_NOUID
|GPGME_EXPORT_MODE_PKCS12))) |GPGME_EXPORT_MODE_PKCS12)))