mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 21:31:35 +00:00
- fixed build-issues in config.m4
- make sure that 'plain_text' is passed on 'verify' - set error_reporting to E_ALL during tests
This commit is contained in:
parent
645661b180
commit
6803be309c
3 changed files with 3 additions and 3 deletions
2
gnupg.c
2
gnupg.c
|
|
@ -1162,7 +1162,7 @@ PHP_FUNCTION(gnupg_verify){
|
|||
gnupg_fetchsignatures (gpgme_result->signatures,signature_array,return_value);
|
||||
/* get a 'plain' version of the text without a signature */
|
||||
gpg_plain = gpgme_data_release_and_get_mem(gpgme_text,&gpg_plain_len);
|
||||
if(gpg_plain && gpg_plain_len > 0){
|
||||
if(gpg_plain && gpg_plain_len > 0 && plain_text){
|
||||
ZVAL_STRINGL (plain_text, gpg_plain,gpg_plain_len,1);
|
||||
}
|
||||
free (gpg_plain);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue