Skip to content

some static errors with wolf ssl backend #3577

@RodrigoDornelles

Description

@RodrigoDornelles
warmcat/lib/tls/openssl/openssl-x509.c:48:61: error: passing argument 1 of ‘wolfSSL_ASN1_STRING_get0_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   48 |         const char *p = (const char *)ASN1_STRING_get0_data(as);
      |                                                             ^~
      |                                                             |
      |                                                             ASN1_TIME * {aka WOLFSSL_ASN1_TIME *}
warmcat/lib/tls/openssl/openssl-x509.c:139:35: error: passing argument 1 of ‘wolfSSL_X509_NAME_oneline’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  139 |                 X509_NAME_oneline(xn, buf->ns.name, (int)len - 2);

warmcat/lib/tls/openssl/openssl-x509.c:158:35: error: passing argument 1 of ‘wolfSSL_X509_NAME_oneline’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  158 |                 X509_NAME_oneline(xn, buf->ns.name, (int)len - 1);

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