Lines Matching refs:sigfile
488 php_stream *sigfile; in phar_parse_zipfile() local
498 sigfile = php_stream_fopen_tmpfile(); in phar_parse_zipfile()
499 if (!sigfile) { in phar_parse_zipfile()
505 php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL); in phar_parse_zipfile()
509 php_stream_copy_to_stream_ex(fp, sigfile, beforeus - PHAR_GET_32(locator.cdir_offset), NULL); in phar_parse_zipfile()
511 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
517 php_stream_close(sigfile); in phar_parse_zipfile()
522 …if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8… in phar_parse_zipfile()
526 php_stream_close(sigfile); in phar_parse_zipfile()
531 php_stream_close(sigfile); in phar_parse_zipfile()
536 php_stream_close(sigfile); in phar_parse_zipfile()