https://bugs.openldap.org/show_bug.cgi?id=9509
Issue ID: 9509 Summary: ldap_pvt_tls_check_hostname missing prototype Product: OpenLDAP Version: 2.4.57 Hardware: Other OS: Mac OS Status: UNCONFIRMED Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: noloader@gmail.com Target Milestone: ---
Hi Everyone,
I'm building OpenLDAP 2.4.57 on Apple M1. Apple turned on -Werror for missing prototypes. It results in:
tls2.c:378:9: error: implicit declaration of function 'ldap_pvt_tls_check_hostname' is invalid in C99 [-Werror,-Wimplicit-function-declaration] err = ldap_pvt_tls_check_hostname( ld, ssl, host );
You can access an Apple M1 machine on the GCC Compile Farm. It is GCC304, port 2409. If needed you can get an account at https://cfarm.tetaneutral.net/users/new/.