Lines Matching refs:sigfile
421 php_stream *sigfile; in phar_parse_zipfile() local
432 sigfile = php_stream_fopen_tmpfile(); in phar_parse_zipfile()
433 if (!sigfile) { in phar_parse_zipfile()
439 php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL); in phar_parse_zipfile()
443 php_stream_copy_to_stream_ex(fp, sigfile, beforeus - PHAR_GET_32(locator.cdir_offset), NULL); in phar_parse_zipfile()
445 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
451 php_stream_close(sigfile); in phar_parse_zipfile()
456 …if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8… in phar_parse_zipfile()
460 php_stream_close(sigfile); in phar_parse_zipfile()
465 php_stream_close(sigfile); in phar_parse_zipfile()
470 php_stream_close(sigfile); in phar_parse_zipfile()