tags 529998 patch
thanks
Hi,
This build failure happens because krb5 library no longer exports the
valid_cksumtype() function, its functionality has been replaced by the
krb5_c_valid_cksumtype(). Attached simple patch fixes it.
Best regards,
--
Jurij Smakov [email protected]
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
diff -aur a/krb5auth/src/Krb5Auth.cxx b/krb5auth/src/Krb5Auth.cxx
--- a/krb5auth/src/Krb5Auth.cxx 2008-05-12 21:34:45.000000000 +0100
+++ b/krb5auth/src/Krb5Auth.cxx 2009-07-04 21:52:20.000000000 +0100
@@ -421,8 +421,8 @@
cleanup.fSignal = kFALSE;
// test for CRC-32
- if (!valid_cksumtype(CKSUMTYPE_CRC32)) {
- Error("Krb5Authenticate","failed <valid_cksumtype>: %s\n",
+ if (!krb5_c_valid_cksumtype(CKSUMTYPE_CRC32)) {
+ Error("Krb5Authenticate","failed <krb5_c_valid_cksumtype>: %s\n",
error_message(KRB5_PROG_SUMTYPE_NOSUPP));
return 0;
}