mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
fixed error, when an invalid errormode is passed
This commit is contained in:
parent
d0ae5002f1
commit
c00c45c6e2
1 changed files with 2 additions and 2 deletions
4
gnupg.c
4
gnupg.c
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
static int le_gnupg;
|
static int le_gnupg;
|
||||||
|
|
||||||
#define PHP_GNUPG_VERSION "0.6beta"
|
#define PHP_GNUPG_VERSION "0.7beta"
|
||||||
|
|
||||||
#ifdef ZEND_ENGINE_2
|
#ifdef ZEND_ENGINE_2
|
||||||
static zend_object_handlers gnupg_object_handlers;
|
static zend_object_handlers gnupg_object_handlers;
|
||||||
|
@ -506,7 +506,7 @@ PHP_FUNCTION(gnupg_seterrormode){
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
GNUPG_ERROR("invalid errormode");
|
GNUPG_ERR("invalid errormode");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
Loading…
Reference in a new issue