From 7d581bebd437cd66000a1cac4b74b1ec4408f672 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 25 Feb 2003 23:30:46 +0000 Subject: Fix unused variable warning when ENCTYPE_ARCFOUR_HMAC is not defined. (This used to be commit 92abafa62894a125c5a09fc92f5056e4d8b51089) --- source3/libsmb/clikrb5.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 6b0c7ddaf2..5edc56daa9 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -367,7 +367,9 @@ failed: BOOL krb5_get_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16]) { +#ifdef ENCTYPE_ARCFOUR_HMAC krb5_keyblock *skey; +#endif BOOL ret = False; memset(session_key, 0, 16); -- cgit