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

mendersoftware / mender / 1480778148
76%
master: 80%

Build:
Build:
LAST BUILD BRANCH: pr_1828
DEFAULT BRANCH: master
Ran 03 Oct 2024 06:46PM UTC
Jobs 1
Files 145
Run time 1min
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

03 Oct 2024 06:26PM UTC coverage: 76.372% (+0.06%) from 76.31%
1480778148

push

gitlab-ci

danielskinstad
fix: explicitly initialize ssl

From the OpenSSL man pages:
Numerous internal OpenSSL functions call OPENSSL_init_ssl().
Therefore, in order to perform nondefault initialisation,
OPENSSL_init_ssl() MUST be called by application code prior to any other OpenSSL function calls.
See: https://docs.openssl.org/3.3/man3/OPENSSL_init_ssl/#description

This fixes errors where e.g. the openssl config configures ssl_conf,
which requires ssl to be initialized.

Ticket: MEN-7549
Changelog: Fix error while loading OpenSSL config file, by explicitly
initializing the SSL context prior to loading. Without the explicit
initialisation of SSL, the config might not be properly loaded if e.g.
it has sections specifying ssl settings. This was the case with the
example configuration for OpenSSL 1.1.1w from Debian Bullseye.

Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>

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

97 existing lines in 3 files now uncovered.

7350 of 9624 relevant lines covered (76.37%)

11242.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
63.49
0.4% src/common/crypto/platform/openssl/crypto.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
5
97.96
-0.01% src/mender-update/daemon/state_machine/state_machine.cpp
8
84.62
0.87% src/common/state_machine.hpp
84
63.49
0.4% src/common/crypto/platform/openssl/crypto.cpp
Jobs
ID Job ID Ran Files Coverage
1 1480778148.1 03 Oct 2024 06:46PM UTC 145
76.37
Source Files on build 1480778148
  • Tree
  • List 145
  • Changed 20
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1480778148
  • 4a3d82b8 on github
  • Prev Build on pr_1673 (#1478591854)
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

© 2025 Coveralls, Inc