diff options
Diffstat (limited to 'common/openpgp-oid.c')
-rw-r--r-- | common/openpgp-oid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/openpgp-oid.c b/common/openpgp-oid.c index 4e53a74fd..02b87078b 100644 --- a/common/openpgp-oid.c +++ b/common/openpgp-oid.c @@ -568,7 +568,7 @@ map_openpgp_pk_to_gcry (pubkey_algo_t algo) case PUBKEY_ALGO_EDDSA: return GCRY_PK_EDDSA; case PUBKEY_ALGO_ECDSA: return GCRY_PK_ECDSA; case PUBKEY_ALGO_ECDH: return GCRY_PK_ECDH; - default: return algo < 110 ? algo : 0; + default: return algo < 110 ? (enum gcry_pk_algos)algo : 0; } } |