Snippets for openldap 2.7.0 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/openldap27-client/2.7.0/150amd64-default.log.
-
tls_o.c:547:7: warning: label followed by a declaration is a C23 extension [-Wc23-extensions] 547 | X509 *cert = OSSL_STORE_INFO_get0_CERT( info ); | ^ -
tls_o.c:757:6: warning: label followed by a declaration is a C23 extension [-Wc23-extensions] 757 | X509 *cert = OSSL_STORE_INFO_get0_CERT(info); | ^ -
tls_o.c:777:6: warning: label followed by a declaration is a C23 extension [-Wc23-extensions] 777 | X509_STORE *x509_s = SSL_CTX_get_cert_store( ctx ); | ^ -
common.c:242:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 242 | ip = inet_ntop( AF_INET6, &sai->sin6_addr, ip6buf, sizeof( ip6buf )); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
common.c:1423:9: warning: assigning to 'char *' from 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1423 | msg = connectErr; | ^ ~~~~~~~~~~ -
ldif-filter.c:209:16: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 209 | sep = "\r\n" + 2 - line_len; /* sep = copy(line) */ | ~~~~~~~^~~