mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
Apply patch from bug #17615 to fix segfaults on 64-bit systems
This commit is contained in:
parent
8f439b534f
commit
b88e82603f
1 changed files with 4 additions and 4 deletions
8
gnupg.c
8
gnupg.c
|
@ -471,7 +471,7 @@ PHP_FUNCTION(gnupg_init){
|
|||
* >0 = on
|
||||
* */
|
||||
PHP_FUNCTION(gnupg_setarmor){
|
||||
int armor;
|
||||
long armor;
|
||||
|
||||
GNUPG_GETOBJ();
|
||||
|
||||
|
@ -497,7 +497,7 @@ PHP_FUNCTION(gnupg_setarmor){
|
|||
|
||||
/* {{{ proto bool gnupg_seterrormode(int errormde) */
|
||||
PHP_FUNCTION(gnupg_seterrormode){
|
||||
int errormode;
|
||||
long errormode;
|
||||
|
||||
GNUPG_GETOBJ();
|
||||
|
||||
|
@ -532,7 +532,7 @@ PHP_FUNCTION(gnupg_seterrormode){
|
|||
* sets the mode for signing operations
|
||||
*/
|
||||
PHP_FUNCTION(gnupg_setsignmode){
|
||||
int signmode;
|
||||
long signmode;
|
||||
|
||||
GNUPG_GETOBJ();
|
||||
|
||||
|
@ -1395,7 +1395,7 @@ PHP_FUNCTION(gnupg_import){
|
|||
PHP_FUNCTION(gnupg_deletekey){
|
||||
char *key;
|
||||
int key_len;
|
||||
int allow_secret = 0;
|
||||
long allow_secret = 0;
|
||||
|
||||
gpgme_key_t gpgme_key;
|
||||
|
||||
|
|
Loading…
Reference in a new issue