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

mendersoftware / mender / 1481376141
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: pr_1847
DEFAULT BRANCH: master
Ran 04 Oct 2024 07:19AM UTC
Jobs 1
Files 132
Run time 9min
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

04 Oct 2024 07:02AM UTC coverage: 79.879% (-0.02%) from 79.897%
1481376141

Pull #1674

gitlab-ci

Mender
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>
(cherry picked from commit 4a3d82b83)
Pull Request #1674: [Cherry 4.0.x]: Explicitly initialize ssl

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

1 existing line in 1 file now uncovered.

7126 of 8921 relevant lines covered (79.88%)

12263.91 hits per line

New Missed Lines in Diff

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

Uncovered Existing Lines

Lines Coverage ∆ File
1
63.09
-0.4% src/common/crypto/platform/openssl/crypto.cpp
Jobs
ID Job ID Ran Files Coverage
1 1481376141.1 04 Oct 2024 07:19AM UTC 132
79.88
Source Files on build 1481376141
  • Tree
  • List 132
  • Changed 21
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1481376141
  • Pull Request #1674
  • PR Base - 4.0.x (#1430701018)
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