Lines Matching refs:sigfile
456 php_stream *sigfile; in phar_parse_zipfile() local
466 sigfile = php_stream_fopen_tmpfile(); in phar_parse_zipfile()
467 if (!sigfile) { in phar_parse_zipfile()
473 php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL); in phar_parse_zipfile()
477 php_stream_copy_to_stream_ex(fp, sigfile, beforeus - PHAR_GET_32(locator.cdir_offset), NULL); in phar_parse_zipfile()
479 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
485 php_stream_close(sigfile); in phar_parse_zipfile()
490 …if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8… in phar_parse_zipfile()
494 php_stream_close(sigfile); in phar_parse_zipfile()
499 php_stream_close(sigfile); in phar_parse_zipfile()
504 php_stream_close(sigfile); in phar_parse_zipfile()