repo: isolate the function to RSA sign the content of repo
modified libpkg/pkg_repo_create.c
@@ -982,13 +982,32 @@ done:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -1001,15 +1020,7 @@ pkg_repo_pack_db(const char *name, const char *archive, char *path,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1034,7 +1045,6 @@ pkg_repo_pack_db(const char *name, const char *archive, char *path,
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -89,7 +89,7 @@ int is_link(const char *);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/rsa.c
@@ -364,7 +364,7 @@ rsa_verify(const char *key, unsigned char *sig, unsigned int sig_len, int fd)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|