[Rpm-maint] [rpm-software-management/rpm] Deprecated libimaevm symbol (Issue #3419)

Michal Domonkos notifications at github.com
Thu Oct 31 12:35:43 UTC 2024


The `sign_hash()` function is now deprecated in `libimaevm.so.5` (shipped in Fedora 41) which causes a build warning (when configured with `-DWITH_IMAEVM=ON`:
```
warning: ‘int sign_hash(const char*, const unsigned char*, int, const char*, const char*, unsigned char*)’ is deprecated [-Wdeprecated-declarations]
   56 |     siglen = sign_hash(algo, fdigest, diglen, key, keypass, signature+1);                        
      |              ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                         
In file included from /home/mdomonko/code/rpm/f41-check/sign/rpmsignfiles.hh:12,
                 from /home/mdomonko/code/rpm/f41-check/sign/rpmsignfiles.cc:17:                         
/usr/include/imaevm.h:241:23: note: declared here                                                        
  241 | IMAEVM_DEPRECATED int sign_hash(const char *algo, const unsigned char *hash,                     
      |                       ^~~~~~~~~                                                                  
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3419
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3419 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241031/07fd4fe9/attachment.html>


More information about the Rpm-maint mailing list