]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unzip: sync with NetBSD upstream to add passphrase support
authorYoshihiro Takahashi <nyan@FreeBSD.org>
Sat, 25 Sep 2021 16:32:42 +0000 (01:32 +0900)
committerYoshihiro Takahashi <nyan@FreeBSD.org>
Sat, 2 Oct 2021 11:57:24 +0000 (20:57 +0900)
commit970c3982cd6a05efe9b4666a8a7f98670f18f36e
tree9e926440e6ca6b047f61b8e3b114b1a753ea9681
parentdb79ace65626d81834888b69b0f6c12a034c8891
unzip: sync with NetBSD upstream to add passphrase support

- Add support for password protected zip archives.
  We use memset_s() rather than explicit_bzero() for more portable
  (See PR).
- Use success/failure macro in exit()
- Mention ZIPX format in unzip(1)

Submitted by: Mingye Wang and Alex Kozlov (ak@)
PR: 244181
Reviewed by: mizhka
Obtained from: NetBSD
Differential Revision: https://reviews.freebsd.org/D28892

(cherry picked from commit a4724ff48108840416c83f10e15d666ac8d78937)
usr.bin/unzip/unzip.1
usr.bin/unzip/unzip.c