Error checking for the RSA key argument for 'pkg repo'. Also, don't require it to create the repo.
modified libpkg/pkg_create_repo.c
@@ -262,6 +262,9 @@ pkg_finish_repo(char *path, pem_password_cb *password_cb, char *rsa_key_path)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified pkg/repo.c
@@ -64,11 +64,10 @@ int
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -81,7 +80,8 @@ exec_repo(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|