Fix unused variable warning when ENCTYPE_ARCFOUR_HMAC is not defined.
authorTim Potter <tpot@samba.org>
Tue, 25 Feb 2003 23:30:46 +0000 (23:30 +0000)
committerTim Potter <tpot@samba.org>
Tue, 25 Feb 2003 23:30:46 +0000 (23:30 +0000)
(This used to be commit 92abafa62894a125c5a09fc92f5056e4d8b51089)

source3/libsmb/clikrb5.c

index 6b0c7ddaf20b5de2e34333721322e7763a6337bf..5edc56daa9b3f3988c5a22e1a3d5e5679a4c40db 100644 (file)
@@ -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);