summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-27 15:34:41 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-28 07:57:28 +1000
commit861353972d967ecbd1552d49f157f8e04904bcce (patch)
tree37b174a4992131031877efda4e815da3ddd8ed57 /source4/libnet
parent098c5ecdba63b29752b6c0b0030684cf0ef76196 (diff)
downloadsamba-861353972d967ecbd1552d49f157f8e04904bcce.tar.gz
samba-861353972d967ecbd1552d49f157f8e04904bcce.tar.bz2
samba-861353972d967ecbd1552d49f157f8e04904bcce.zip
s4-libnet: Ensure termination of enctype array in libnet_export_keytab()
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_export_keytab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_export_keytab.c b/source4/libnet/libnet_export_keytab.c
index 1726d14228..b30bf12faa 100644
--- a/source4/libnet/libnet_export_keytab.c
+++ b/source4/libnet/libnet_export_keytab.c
@@ -69,7 +69,8 @@ NTSTATUS libnet_export_keytab(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, s
KRB5_ENCTYPE_DES_CBC_MD5,
KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96,
KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96,
- KRB5_ENCTYPE_ARCFOUR_HMAC_MD5
+ KRB5_ENCTYPE_ARCFOUR_HMAC_MD5,
+ 0
};
ret = kt_copy_one_principal(smb_krb5_context->krb5_context, from_keytab, r->in.keytab_name, r->in.principal, 0, enctypes);
} else {