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

p11-glue / p11-kit / 5677391312 / 1
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2023 06:43AM UTC
Files 159
Run time 3s
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

27 Jul 2023 06:41AM UTC coverage: 69.629% (-0.003%) from 69.632%
5677391312.1

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 %.

27207 of 33038 relevant lines covered (82.35%)

2140.72 hits per line

Source Files on job 5677391312.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 5677391312
  • d1d4b0ac on github
  • Prev Job for on master (#5666549749.1)
  • Next Job for on master (#5736344208.1)
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