Home
last modified time | relevance | path

Searched refs:sigfile (Results 1 – 1 of 1) sorted by relevance

/PHP-7.3/ext/phar/
H A Dzip.c397 php_stream *sigfile; in phar_parse_zipfile() local
403 sigfile = php_stream_fopen_tmpfile(); in phar_parse_zipfile()
404 if (!sigfile) { in phar_parse_zipfile()
410 php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL); in phar_parse_zipfile()
414 php_stream_copy_to_stream_ex(fp, sigfile, beforeus - PHAR_GET_32(locator.cdir_offset), NULL); in phar_parse_zipfile()
416 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
422 php_stream_close(sigfile); in phar_parse_zipfile()
427 …if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8… in phar_parse_zipfile()
431 php_stream_close(sigfile); in phar_parse_zipfile()
436 php_stream_close(sigfile); in phar_parse_zipfile()
[all …]

Completed in 7 milliseconds