Skip to content

Draft: keymaster: ta: mbedtls_proxy: fix conflict type

Mattijs Korpershoek requested to merge mkorpershoek/port-api-compat into ti-android-14

Fix mbedTLS_encode_ec_sign arguments function:

mbedtls_proxy.c:1311:19: error: conflicting types for ‘mbedTLS_encode_ec_sign’
 1311 | keymaster_error_t mbedTLS_encode_ec_sign(uint8_t *out, uint32_t *out_l)
      |                   ^~~~~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-c2x-extensions’ may have been intended to silence earlier diagnostics
In file included from ./include/attestation.h:25,
                 from mbedtls_proxy.c:4:
./include/mbedtls_proxy.h:70:19: note: previous declaration of ‘mbedTLS_encode_ec_sign’ was here
   70 | keymaster_error_t mbedTLS_encode_ec_sign(uint8_t *out, size_t *out_l);
      |                   ^~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Julien Masson jmasson@baylibre.com Signed-off-by: Mattijs Korpershoek mkorpershoek@baylibre.com

Merge request reports

Loading