libopkg: only perform size check when information is available
authorJo-Philipp Wich <jo@mein.io>
Thu, 31 Jan 2019 09:13:10 +0000 (10:13 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 31 Jan 2019 09:17:16 +0000 (10:17 +0100)
commitd4ba162bb3f931bd5a019154270a548cf1f0853b
treee16d9f594065ecf687c82e4481e191457b14fb8b
parentcb6640381808dd629cfa58a21ceaf12e91a82e68
libopkg: only perform size check when information is available

Fixes: cb66403 ("libopkg: check for file size mismatches")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/opkg_install.c