summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-09 23:38:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:55 -0500
commit102f5bc17da8948f1d6133a6874bf81f1145a395 (patch)
tree3e4b34da84da4a92eca24f0b3718fd9cbb45488e /source4
parent82e59d11c363bc0b85e4f1f6c1612cbaf1fb0300 (diff)
downloadsamba-102f5bc17da8948f1d6133a6874bf81f1145a395.tar.gz
samba-102f5bc17da8948f1d6133a6874bf81f1145a395.tar.bz2
samba-102f5bc17da8948f1d6133a6874bf81f1145a395.zip
r1426: Fix some of my silly compile errors...
Andrew Bartlett (This used to be commit c283837556109b9392a8cdcd867e5ae0dac1509b)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/clikrb5.c2
-rw-r--r--source4/libcli/auth/spnego_parse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/auth/clikrb5.c b/source4/libcli/auth/clikrb5.c
index 2c036cfcf8..cf0c4b6424 100644
--- a/source4/libcli/auth/clikrb5.c
+++ b/source4/libcli/auth/clikrb5.c
@@ -369,7 +369,7 @@ cleanup_princ:
krb5_free_principal(context, server);
if (mem_ctx) {
- talloc_destory(mem_ctx);
+ talloc_destroy(mem_ctx);
}
return retval;
}
diff --git a/source4/libcli/auth/spnego_parse.c b/source4/libcli/auth/spnego_parse.c
index bcc32def16..b239a4ebf0 100644
--- a/source4/libcli/auth/spnego_parse.c
+++ b/source4/libcli/auth/spnego_parse.c
@@ -267,6 +267,7 @@ ssize_t spnego_read_data(DATA_BLOB data, struct spnego_data *token)
{
ASN1_DATA asn1;
ssize_t ret = -1;
+ uint8_t context;
ZERO_STRUCTP(token);
ZERO_STRUCT(asn1);
@@ -277,7 +278,6 @@ ssize_t spnego_read_data(DATA_BLOB data, struct spnego_data *token)
asn1_load(&asn1, data);
- uint8_t context;
if (!asn1_peek_uint8(&asn1, &context)) {
asn1.has_error = True;
} else {