• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

p11-glue / p11-kit / 5677391312
69%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2023 06:43AM UTC
Jobs 1
Files 159
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5677391312

push

github

ueno
Fix probing of C_GetInterface

`p11_dl_symbol (dl, "C_GetInterface")` uses dlsym() to find
C_GetInterface in the loaded pkcs11 module.  For legacy (pre-3.0) pkcs11
modules, C_GetInterface is not defined in the module.  But according to
the documentation of dlsym():

    The search performed by dlsym() is breadth first through the
    dependency tree of these shared objects.

So if a pkcs11 module links to libp11-kit.so, the C_GetInterface
implementation in libp11-kit.so itself will be found.  This
C_GetInterface will return the metadata of p11-kit-proxy.so, causing
"Refuse to load the p11-kit-proxy.so as a registered module".

To solve the issue, if p11_dl_symbol() returns the C_GetInterface in
libp11-kit.so itself, we should ignore it and continue trying
C_GetFunctionList.

12939 of 24619 branches covered (52.56%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

27207 of 33038 relevant lines covered (82.35%)

2140.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5677391312.1 27 Jul 2023 06:43AM UTC 0
69.63
GitHub Action Run
Source Files on build 5677391312
Detailed source file information is not available for this build.
  • Back to Repo
  • d1d4b0ac on github
  • Prev Build on master (#5666549749)
  • Next Build on master (#5736344208)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc