diff options
Diffstat (limited to 'RPM4/src/RPM4sign.c')
-rw-r--r-- | RPM4/src/RPM4sign.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/RPM4/src/RPM4sign.c b/RPM4/src/RPM4sign.c index 04bb60f..a8b13c3 100644 --- a/RPM4/src/RPM4sign.c +++ b/RPM4/src/RPM4sign.c @@ -15,10 +15,9 @@ /* Hight level function */ int rpmsign(char *passphrase, const char *rpm) { QVA_t qva = &rpmQVKArgs; - const char * file[2]; + ARGV_t file = NULL; - file[0] = rpm; - file[1] = NULL; + argvAdd(&file, rpm); qva->qva_mode = RPMSIGN_ADD_SIGNATURE; qva->passPhrase = passphrase; |