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))