diff options
Diffstat (limited to 'src/gpgme.c')
| -rw-r--r-- | src/gpgme.c | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/gpgme.c b/src/gpgme.c index 56caf59c..071b394c 100644 --- a/src/gpgme.c +++ b/src/gpgme.c @@ -248,7 +248,8 @@ gpgme_set_protocol (gpgme_ctx_t ctx, gpgme_protocol_t protocol)    if (protocol != GPGME_PROTOCOL_OpenPGP        && protocol != GPGME_PROTOCOL_CMS -      && protocol != GPGME_PROTOCOL_ASSUAN) +      && protocol != GPGME_PROTOCOL_ASSUAN +      && protocol != GPGME_PROTOCOL_G13)      return TRACE_ERR (gpg_error (GPG_ERR_INV_VALUE));    if (ctx->protocol != protocol) @@ -292,6 +293,9 @@ gpgme_get_protocol_name (gpgme_protocol_t protocol)      case GPGME_PROTOCOL_ASSUAN:        return "Assuan"; +    case GPGME_PROTOCOL_G13: +      return "G13"; +      case GPGME_PROTOCOL_UNKNOWN:        return "unknown"; | 
