bin/xbps-rindex/sign.c: initialize var for strcmp().
This commit is contained in:
parent
3405866ae2
commit
ea26fb3d3f
@ -126,7 +126,7 @@ sign_repo(struct xbps_handle *xhp, const char *repodir,
|
||||
unsigned char *sig;
|
||||
unsigned int siglen;
|
||||
uint16_t rpubkeysize, pubkeysize;
|
||||
const char *arch, *pkgver, *rsignedby;
|
||||
const char *arch, *pkgver, *rsignedby = NULL;
|
||||
char *binpkg, *binpkg_sig, *buf, *defprivkey;
|
||||
int binpkg_fd, binpkg_sig_fd, rv = 0;
|
||||
bool flush = false;
|
||||
|
Loading…
Reference in New Issue
Block a user