I'm getting this on a local build (this code isn't getting built at all in the 
CI):

```
/home/pmatilai/repos/rpm/rpmio/rpmpgp_legacy/digest_openssl.c: In function 
‘constructRSASigningKey’:
/home/pmatilai/repos/rpm/rpmio/rpmpgp_legacy/digest_openssl.c:223:5: error: 
‘param_bld’ may be used uninitialized [-Werror=maybe-uninitialized]
  223 |     OSSL_PARAM_BLD_free(param_bld);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/rpmpgp_legacy/digest_openssl.c:201:21: note: 
‘param_bld’ was declared here
  201 |     OSSL_PARAM_BLD *param_bld = OSSL_PARAM_BLD_new();
      |                     ^~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/rpmpgp_legacy/digest_openssl.c:224:5: error: 
‘params’ may be used uninitialized [-Werror=maybe-uninitialized]
  224 |     OSSL_PARAM_free(params);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/home/pmatilai/repos/rpm/rpmio/rpmpgp_legacy/digest_openssl.c:208:17: note: 
‘params’ was declared here
  208 |     OSSL_PARAM *params = OSSL_PARAM_BLD_to_param(param_bld);
      |                 ^~~~~~
cc1: all warnings being treated as errors
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2723#issuecomment-1766311797
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2723/c1766311...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to