diff options
author | Werner Koch <[email protected]> | 2025-02-03 15:32:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-02-03 15:37:57 +0000 |
commit | 7d09f1f9fbf8889f467a06432f1954f9ad4f5922 (patch) | |
tree | b886a5caaa8fc9d559bca59e2fc58e7d32a6c096 | |
parent | Bump version after splitting off bindings (diff) | |
download | gpgme-7d09f1f9fbf8889f467a06432f1954f9ad4f5922.tar.gz gpgme-7d09f1f9fbf8889f467a06432f1954f9ad4f5922.zip |
core: Fix regression for RSA in gpgme_pubkey_algo_string.
* src/gpgme.c (gpgme_pubkey_algo_string): Consider all RSA variants.
--
Fixes-commit: 62b6c1f16ae0ed7b0eb1b095ee383aa0910314bb
GnuPG-bug-id: 7508
-rw-r--r-- | src/gpgme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgme.c b/src/gpgme.c index e65fb38a..f37d3fa6 100644 --- a/src/gpgme.c +++ b/src/gpgme.c @@ -1307,8 +1307,8 @@ gpgme_pubkey_algo_string (gpgme_subkey_t subkey) { case GPGME_PK_RSA: case GPGME_PK_RSA_E: - case GPGME_PK_KYBER: composite = 1; break; case GPGME_PK_RSA_S: prefix = "rsa"; break; + case GPGME_PK_KYBER: composite = 1; break; case GPGME_PK_ELG_E: prefix = "elg"; break; case GPGME_PK_DSA: prefix = "dsa"; break; case GPGME_PK_ELG: prefix = "xxx"; break; |