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
This commit is contained in:
Werner Koch 2025-02-03 16:32:05 +01:00
parent 8ad04695d9
commit 7d09f1f9fb
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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;