diff --git a/bin/xbps-rindex/sign.c b/bin/xbps-rindex/sign.c index 4c7d4a79..cf3d540f 100644 --- a/bin/xbps-rindex/sign.c +++ b/bin/xbps-rindex/sign.c @@ -49,11 +49,6 @@ load_rsa_privkey(const char *path) if ((fp = fopen(path, "r")) == 0) return NULL; - if ((rsa = RSA_new()) == NULL) { - fclose(fp); - return NULL; - } - p = getenv("XBPS_PASSPHRASE"); if (p) { passphrase = strdup(p);