summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-25 23:30:46 +0000
committerTim Potter <tpot@samba.org>2003-02-25 23:30:46 +0000
commit7d581bebd437cd66000a1cac4b74b1ec4408f672 (patch)
treeeed825eb6f9c62e2e39fc0f958d9f94dfa116ed1 /source3/libsmb
parent64e53c9b22f23506acfd2fb4552b7c43129631a6 (diff)
downloadsamba-7d581bebd437cd66000a1cac4b74b1ec4408f672.tar.gz
samba-7d581bebd437cd66000a1cac4b74b1ec4408f672.tar.bz2
samba-7d581bebd437cd66000a1cac4b74b1ec4408f672.zip
Fix unused variable warning when ENCTYPE_ARCFOUR_HMAC is not defined.
(This used to be commit 92abafa62894a125c5a09fc92f5056e4d8b51089)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c2
1 files changed, 2 insertions, 0 deletions
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);