Skip to content

mbedtls: disable MBEDTLS_VERSION_C #3553

Closed

Description

@MAntoniak

I did this

I am trying to build a curl library using the mbedtls library. In mbedtls has disable run-time version information (comment MBEDTLS_VERSION_C). The Curl_mbedtls_version function refers to the mbedtls_version_get_number function, which is disabled. As a result, it is not possible to build a project.

I expected the following

Build succeeded.

Perhaps using the MBEDTLS_VERSION_STRING may solve this problem:
return msnprintf(buffer, size, "mbedTLS/%s", MBEDTLS_VERSION_STRING);

curl/libcurl version

[curl -V output]
curl 7.64.0 mbedTls/2.7.9
Release-Date: 2019-02-06
Protocols: http

operating system

Embedded system.

Activity

  1. added a commit that references this issue on Feb 11, 2019
    f18cff9
  2. bagder commented on Feb 11, 2019

    @bagder
    Member

    @MAntoniak does my proposed fix in #3556 work for you?

  3. MAntoniak commented on Feb 12, 2019

    @MAntoniak
    ContributorAuthor

    Yes, it works. Thanks!

  4. locked as resolved and limited conversation to collaborators on May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions