Close the fp after ferror().
modified libpkg/pkg_util.c
@@ -272,17 +272,19 @@ sha256_file(const char *path, char out[65])
|
|
|
|
|
|
| - | |
| - | |
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|