sha256_buf() has nothing relevant to return, make it void
modified libpkg/private/utils.h
@@ -84,7 +84,7 @@ int format_exec_cmd(char **, const char *, const char *, const char *, char *);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/utils.c
@@ -355,7 +355,7 @@ sha256_file(const char *path, char out[SHA256_DIGEST_LENGTH * 2 + 1])
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -367,8 +367,6 @@ sha256_buf(char *buf, size_t len, char out[SHA256_DIGEST_LENGTH * 2 + 1])
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|