Skip to content

Multiple definitions for ECDSA_verify linking with OpenSSL #33

@dandrestor

Description

@dandrestor

Our project uses the Azure C SDK. We link statically against all our dependencies (which also include OpenSSL). Riot gives a duplicate symbol for ECDSA_verify which is also defined by OpenSSL (output edited for some clarity):

/usr/bin/cc [snip] libmsr_riot.a [snip]  libssl.a libcrypto.a [snip]
libcrypto.a(ecdsa_vrf.o): In function `ECDSA_verify':
openssl/crypto/ec/ecdsa_vrf.c:37: multiple definition of `ECDSA_verify'
azure-iot-sdk-c/provisioning_client/deps/libmsr_riot.a(RiotEcc.c.o):azure-iot-sdk-c/provisioning_client/deps/RIoT/Emulator/RIoT/RIoTCrypt/RiotEcc.c:1578: first defined here
collect2: error: ld returned 1 exit status

Could this be renamed to something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions