Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2061

Compiler warning for openssl 1.1.0

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: 1.6.0
    • Component/s: tls
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      mongoc/mongoc-openssl.c: In function ‘_mongoc_openssl_check_cert’:
      mongoc/mongoc-openssl.c:316:16: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
                      check = (char *) ASN1_STRING_data (name->d.ia5);
                      ^~~~~
      In file included from /usr/include/openssl/bn.h:31:0,
                       from /usr/include/openssl/asn1.h:24,
                       from /usr/include/openssl/objects.h:916,
                       from /usr/include/openssl/evp.h:27,
                       from /usr/include/openssl/x509.h:23,
                       from /usr/include/openssl/ssl.h:50,
                       from mongoc/mongoc-openssl.c:24:
      /usr/include/openssl/asn1.h:553:1: note: declared here
       DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
      

            Assignee:
            bjori Hannes Magnusson (Inactive)
            Reporter:
            jeroen.ooms Jeroen Ooms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: