diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-05 16:29:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:22 -0500 |
commit | f99c93ec57691a393b4ae5ba57176b98f33efc17 (patch) | |
tree | ae13cf51ef8046682b457db7587bb5804022918c /source4/libcli/auth/gssapi_parse.c | |
parent | 1424dccb92f2ed4002ed703e4e8c9aa453d04e01 (diff) | |
download | samba-f99c93ec57691a393b4ae5ba57176b98f33efc17.tar.gz samba-f99c93ec57691a393b4ae5ba57176b98f33efc17.tar.bz2 samba-f99c93ec57691a393b4ae5ba57176b98f33efc17.zip |
r4070: move some defines from asn_1.h to the places they belong to
metze
(This used to be commit ab2c2f27e1c61516e885f02bf26350f97209057a)
Diffstat (limited to 'source4/libcli/auth/gssapi_parse.c')
-rw-r--r-- | source4/libcli/auth/gssapi_parse.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/libcli/auth/gssapi_parse.c b/source4/libcli/auth/gssapi_parse.c index 529799955d..63bca6d5aa 100644 --- a/source4/libcli/auth/gssapi_parse.c +++ b/source4/libcli/auth/gssapi_parse.c @@ -24,6 +24,9 @@ #include "includes.h" #include "asn_1.h" +#include "system/kerberos.h" +#include "libcli/auth/kerberos.h" +#include "libcli/auth/gensec.h" /* generate a krb5 GSS-API wrapper packet given a ticket @@ -36,7 +39,7 @@ DATA_BLOB gensec_gssapi_gen_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *tick ZERO_STRUCT(data); asn1_push_tag(&data, ASN1_APPLICATION(0)); - asn1_write_OID(&data, OID_KERBEROS5); + asn1_write_OID(&data, GENSEC_OID_KERBEROS5); asn1_write(&data, tok_id, 2); asn1_write(&data, ticket->data, ticket->length); @@ -64,7 +67,7 @@ BOOL gensec_gssapi_parse_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, D asn1_load(&data, *blob); asn1_start_tag(&data, ASN1_APPLICATION(0)); - asn1_check_OID(&data, OID_KERBEROS5); + asn1_check_OID(&data, GENSEC_OID_KERBEROS5); data_remaining = asn1_tag_remaining(&data); |