Lines Matching refs:sigfile
409 php_stream *sigfile; in phar_parse_zipfile() local
415 sigfile = php_stream_fopen_tmpfile(); in phar_parse_zipfile()
416 if (!sigfile) { in phar_parse_zipfile()
422 php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL); in phar_parse_zipfile()
426 php_stream_copy_to_stream_ex(fp, sigfile, beforeus - PHAR_GET_32(locator.cdir_offset), NULL); in phar_parse_zipfile()
428 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
434 php_stream_close(sigfile); in phar_parse_zipfile()
439 …if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8… in phar_parse_zipfile()
443 php_stream_close(sigfile); in phar_parse_zipfile()
448 php_stream_close(sigfile); in phar_parse_zipfile()
452 php_stream_close(sigfile); in phar_parse_zipfile()