diff --git a/bin/xbps-rindex/sign.c b/bin/xbps-rindex/sign.c index 4acb203b..d362f3e2 100644 --- a/bin/xbps-rindex/sign.c +++ b/bin/xbps-rindex/sign.c @@ -150,7 +150,7 @@ sign_repo(struct xbps_handle *xhp, const char *repodir, xbps_dictionary_t meta = NULL; xbps_data_t data = NULL, rpubkey = NULL; RSA *rsa = NULL; - uint16_t rpubkeysize, pubkeysize; + uint16_t rpubkeysize = 0, pubkeysize = 0; const char *rsignedby = NULL; char *buf = NULL; int lockfd = -1;