mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-21 22:17:09 +00:00
Fix bug #81004 - subkey curve not available before gpgme 1.5.0
This commit is contained in:
parent
0909bae078
commit
ea0ccc2c9b
1 changed files with 1 additions and 1 deletions
2
gnupg.c
2
gnupg.c
|
@ -1117,7 +1117,7 @@ PHP_FUNCTION(gnupg_keyinfo)
|
|||
if (gpgme_subkey->card_number) {
|
||||
PHP_GNUPG_ARRAY_ADD_ASSOC_CSTR(subkey, card_number, gpgme_subkey);
|
||||
}
|
||||
#if GPGME_VERSION_NUMBER >= 0x010403 /* GPGME >= 1.4.3 */
|
||||
#if GPGME_VERSION_NUMBER >= 0x010500 /* GPGME >= 1.5.0 */
|
||||
if (gpgme_subkey->curve) {
|
||||
PHP_GNUPG_ARRAY_ADD_ASSOC_CSTR(subkey, curve, gpgme_subkey);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue