Fixes to make Heimdal -Wall -Werror clean
These fixes make developer mode build, at least on Ubuntu.
This commit is contained in:
@@ -31,8 +31,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
/* For some GCCs there's no way to shut them up about deprecated functions */
|
||||
#define KRB5_DEPRECATED_FUNCTION(x)
|
||||
#endif
|
||||
|
||||
#include "krb5_locl.h"
|
||||
|
||||
|
||||
#undef __attribute__
|
||||
#define __attribute__(x)
|
||||
|
||||
@@ -72,7 +78,7 @@ krb5_keytype_to_enctypes_default (krb5_context context,
|
||||
unsigned int i, n;
|
||||
krb5_enctype *ret;
|
||||
|
||||
if (keytype != KEYTYPE_DES || context->etypes_des == NULL)
|
||||
if (keytype != (krb5_keytype)KEYTYPE_DES || context->etypes_des == NULL)
|
||||
return krb5_keytype_to_enctypes (context, keytype, len, val);
|
||||
|
||||
for (n = 0; context->etypes_des[n]; ++n)
|
||||
|
Reference in New Issue
Block a user