Updated deprecated functions for the application in kerberos5/libexec/kcm. Only changed one function in multiple instances: "krb5_get_err_text" to "krb5_get_error_message" according to the MIT Kerberos Documentation page.
Diff Detail
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 9999 Build 10425: arc lint + arc unit
Event Timeline
Comment Actions
Changelog:
Pre-fix warnings located at: https://gist.github.com/aprieger-llnw/b1f8fe42a8f690da68b533c67720ecef
- crypto/heimdal/kcm/acquire.c
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- fix: changed the function to krb5_get_error_message()on lines 81, 118, 133, which is the correct function according to the MIT Kerberos Documentation page at http://web.mit.edu/kerberos/krb5-current/doc/appldev/refs/api/krb5_get_error_message.html
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- crypto/heimdal/kcm/client.c
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- fix: changed the function to krb5_get_error_message()on lines 50, 74, 131, 143, which is the correct function according to the MIT Kerberos Documentation page at http://web.mit.edu/kerberos/krb5-current/doc/appldev/refs/api/krb5_get_error_message.html
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- crypto/heimdal/kcm/events.c
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- fix: changed the function to krb5_get_error_message()on lines 419, 425, which is the correct function according to the MIT Kerberos Documentation page at http://web.mit.edu/kerberos/krb5-current/doc/appldev/refs/api/krb5_get_error_message.html
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- crypto/heimdal/kcm/renew.c
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]
- fix: changed the function to krb5_get_error_message() on lines 70, 79, 102, 112, which is the correct function according to the MIT Kerberos Documentation page at http://web.mit.edu/kerberos/krb5-current/doc/appldev/refs/api/krb5_get_error_message.html
- warning: 'krb5_get_err_text' is deprecated [-Wdeprecated-declarations]