Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 633
    • Issues 633
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 89
    • Merge requests 89
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Merge requests
  • !7820

unit tests: include an OpenSSL header before including cmocka.h

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Arаm Sаrgsyаn requested to merge 4000-openssl-attr-malloc-vs-cmocka-define-malloc into main Apr 06, 2023
  • Overview 0
  • Commits 2
  • Pipelines 5
  • Changes 11

OpenSSL 3.1.0 uses __attribute__(malloc), conflicting with a redefined malloc in cmocka.h.

As a workaround, include an OpenSSL header file before including cmocka.h in the unit tests where OpenSSL is used.

Closes #4000 (closed)

Edited Apr 06, 2023 by Arаm Sаrgsyаn
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 4000-openssl-attr-malloc-vs-cmocka-define-malloc