mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
spaces vs. tabs
This commit is contained in:
parent
b852d6e509
commit
aa6fdf830b
1 changed files with 20 additions and 20 deletions
40
gnupg.c
40
gnupg.c
|
@ -524,21 +524,21 @@ PHP_MINIT_FUNCTION(gnupg)
|
||||||
PHP_GNUPG_SET_CLASS_CONST("ERROR_WARNING", 1);
|
PHP_GNUPG_SET_CLASS_CONST("ERROR_WARNING", 1);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("ERROR_EXCEPTION", 2);
|
PHP_GNUPG_SET_CLASS_CONST("ERROR_EXCEPTION", 2);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("ERROR_SILENT", 3);
|
PHP_GNUPG_SET_CLASS_CONST("ERROR_SILENT", 3);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_RSA", GPGME_PK_RSA);
|
PHP_GNUPG_SET_CLASS_CONST("PK_RSA", GPGME_PK_RSA);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_RSA_E", GPGME_PK_RSA_E);
|
PHP_GNUPG_SET_CLASS_CONST("PK_RSA_E", GPGME_PK_RSA_E);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_RSA_S", GPGME_PK_RSA_S);
|
PHP_GNUPG_SET_CLASS_CONST("PK_RSA_S", GPGME_PK_RSA_S);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_DSA", GPGME_PK_DSA);
|
PHP_GNUPG_SET_CLASS_CONST("PK_DSA", GPGME_PK_DSA);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_ELG", GPGME_PK_ELG);
|
PHP_GNUPG_SET_CLASS_CONST("PK_ELG", GPGME_PK_ELG);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_ELG_E", GPGME_PK_ELG_E);
|
PHP_GNUPG_SET_CLASS_CONST("PK_ELG_E", GPGME_PK_ELG_E);
|
||||||
#if GPGME_VERSION_NUMBER >= 0x010500 /* GPGME >= 1.5.0 */
|
#if GPGME_VERSION_NUMBER >= 0x010500 /* GPGME >= 1.5.0 */
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_ECC", GPGME_PK_ECC);
|
PHP_GNUPG_SET_CLASS_CONST("PK_ECC", GPGME_PK_ECC);
|
||||||
#endif /* gpgme >= 1.5.0 */
|
#endif /* gpgme >= 1.5.0 */
|
||||||
#if GPGME_VERSION_NUMBER >= 0x010300 /* GPGME >= 1.3.0 */
|
#if GPGME_VERSION_NUMBER >= 0x010300 /* GPGME >= 1.3.0 */
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_ECDSA", GPGME_PK_ECDSA);
|
PHP_GNUPG_SET_CLASS_CONST("PK_ECDSA", GPGME_PK_ECDSA);
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_ECDH", GPGME_PK_ECDH);
|
PHP_GNUPG_SET_CLASS_CONST("PK_ECDH", GPGME_PK_ECDH);
|
||||||
#endif /* gpgme >= 1.3.0 */
|
#endif /* gpgme >= 1.3.0 */
|
||||||
#if GPGME_VERSION_NUMBER >= 0x010700 /* GPGME >= 1.7.0 */
|
#if GPGME_VERSION_NUMBER >= 0x010700 /* GPGME >= 1.7.0 */
|
||||||
PHP_GNUPG_SET_CLASS_CONST("PK_EDDSA", GPGME_PK_EDDSA);
|
PHP_GNUPG_SET_CLASS_CONST("PK_EDDSA", GPGME_PK_EDDSA);
|
||||||
#endif /* gpgme >= 1.7.0 */
|
#endif /* gpgme >= 1.7.0 */
|
||||||
|
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_SIG_MODE_NORMAL", GPGME_SIG_MODE_NORMAL);
|
PHP_GNUPG_REG_CONST("GNUPG_SIG_MODE_NORMAL", GPGME_SIG_MODE_NORMAL);
|
||||||
|
@ -566,21 +566,21 @@ PHP_MINIT_FUNCTION(gnupg)
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_ERROR_WARNING", 1);
|
PHP_GNUPG_REG_CONST("GNUPG_ERROR_WARNING", 1);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_ERROR_EXCEPTION", 2);
|
PHP_GNUPG_REG_CONST("GNUPG_ERROR_EXCEPTION", 2);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_ERROR_SILENT", 3);
|
PHP_GNUPG_REG_CONST("GNUPG_ERROR_SILENT", 3);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_RSA", GPGME_PK_RSA);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_RSA", GPGME_PK_RSA);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_RSA_E", GPGME_PK_RSA_E);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_RSA_E", GPGME_PK_RSA_E);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_RSA_S", GPGME_PK_RSA_S);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_RSA_S", GPGME_PK_RSA_S);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_DSA", GPGME_PK_DSA);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_DSA", GPGME_PK_DSA);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_ELG", GPGME_PK_ELG);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_ELG", GPGME_PK_ELG);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_ELG_E", GPGME_PK_ELG_E);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_ELG_E", GPGME_PK_ELG_E);
|
||||||
#if GPGME_VERSION_NUMBER >= 0x010500 /* GPGME >= 1.5.0 */
|
#if GPGME_VERSION_NUMBER >= 0x010500 /* GPGME >= 1.5.0 */
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_ECC", GPGME_PK_ECC);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_ECC", GPGME_PK_ECC);
|
||||||
#endif /* gpgme >= 1.5.0 */
|
#endif /* gpgme >= 1.5.0 */
|
||||||
#if GPGME_VERSION_NUMBER >= 0x010300 /* GPGME >= 1.3.0 */
|
#if GPGME_VERSION_NUMBER >= 0x010300 /* GPGME >= 1.3.0 */
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_ECDSA", GPGME_PK_ECDSA);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_ECDSA", GPGME_PK_ECDSA);
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_ECDH", GPGME_PK_ECDH);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_ECDH", GPGME_PK_ECDH);
|
||||||
#endif /* gpgme >= 1.3.0 */
|
#endif /* gpgme >= 1.3.0 */
|
||||||
#if GPGME_VERSION_NUMBER >= 0x010700 /* GPGME >= 1.7.0 */
|
#if GPGME_VERSION_NUMBER >= 0x010700 /* GPGME >= 1.7.0 */
|
||||||
PHP_GNUPG_REG_CONST("GNUPG_PK_EDDSA", GPGME_PK_EDDSA);
|
PHP_GNUPG_REG_CONST("GNUPG_PK_EDDSA", GPGME_PK_EDDSA);
|
||||||
#endif /* gpgme >= 1.7.0 */
|
#endif /* gpgme >= 1.7.0 */
|
||||||
|
|
||||||
/* init gpgme subsystems and set the returned version to the constant */
|
/* init gpgme subsystems and set the returned version to the constant */
|
||||||
|
|
Loading…
Reference in a new issue