| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
instead of the older names AC_HAVE_FUNCS, AC_HEADER_CHECK,
AC_CONST. Consolidate use of function testing macros.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12843 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_HEADER_CHECK and AC_FUNC_CHECK.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12842 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_HEADER_CHECK and AC_VFORK.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12841 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12840 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12839 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_RETSIGTYPE and AC_TYPE_SIGNAL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12838 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12837 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12836 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12835 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_CONST and AC_HAVE_FUNCS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12834 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12833 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_CHECK_HEADER instead of AC_HEADER_CHECK.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12832 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
AC_FUNC_CHECK to AC_CHECK_FUNC, AC_HAVE_FUNCS to AC_CHECK_FUNCS
and AC_HEADER_CHECK to AC_CHECK_HEADER..
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12831 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
of define() as newer versions of autoconf check for AC_REQUIRE use
outside of AC_DEFUN.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12830 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
AC_CHECK_FUNCS instead of AC_HAVE_FUNCS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12829 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12828 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
AC_EGREP_HEADER, AC_HAVE_HEADERS to AC_CHECK_HEADERS. Updates to
autoconf 2 namespace.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12827 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
sensative to using macros within macros without quoting. Quote
AC_CHECK_LIB calls within AC_CHECK_LIB macro.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12826 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
what mode the file was opened in.
(krb5_scc_close_file): Ignore EBADF from fflush() if the file was
opened for readonly access. For some reason NetBSD's fflush()
exhibits this behavior.
(krb5_scc_open_file): Save the mode with which the file was opened
in data->mode.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12825 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
using the source trees version of autoconf.
If we trust the installed version of autoconf, we should use their macros.
Performance boost of 2x in autoconfing the tree through use of frozen
m4 files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12820 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
instead of always specificying the trees macrodir.
* pre.in (AUTOCONFFLAGS): Add as flags to pass to autoconf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12819 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
instead of always specificying the trees macrodir.
* pre.in (AUTOCONFFLAGS): Add as flags to pass to autoconf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12818 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
length ticket and as_rep. Fix up calls to decode_run() to have
the modifier be in the description parameter.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12817 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
complement of data about a prefetched tag, as well as to indicate
whether the prefetched tag or the surrounding sequence is of an
indefinite length.
(asn1buf_skiptail): Add new arguments to indicate whether the
prefetched tag is indefinite, as well as its length. This
facilitates proper skipping of trailing garbage.
(asn1buf_remains): Add new argument to indicate whether the
surrounding encoding is indefinite. Don't advance buf->next if an
EOC encoding is detected; the caller will do that.
* asn1buf.h: Update prototypes.
* asn1_get.c (asn1_get_tag_indef): Don't treat EOC encoding as
special anymore, since previous behavior was overloading the
tag number in a bad way. Also, report a MISMATCH_INDEF error if
the tag encoding is for the forbidden primitive constructed
encoding.
* asn1_k_decode.c (next_tag): Call get_tag_indef() in order to get
information about whether the length is indefinite. Don't check
the tag class and construction explicitly.
(get_eoc): New macro to get a tag and check if it is an EOC
encoding.
(get_field, opt_field): Move the check for the tag class and
construction to here.
(get_field_body, get_lenfield_body): Call get_eoc() instead of
next_tag() if we are decoding a constructed indefinite encoding.
(begin_structure): Use a different variable to indicate whether
the sequence is indefinite as opposed to whether an individual
field is indefinite.
(end_structure): Update to new calling convention of
asn1buf_sync().
(sequence_of): Rewrite significantly.
(sequence_of_common): Move the bulk of previous sequence_of()
macro to here. Does not declare some variables that sequence_of()
declares.
(sequence_of_no_tagvars): Similar to sequence_of() macro but
declares different variables for the purpose of prefetching the
final tag.
(end_sequence_of_no_tagvars): Similar to end_sequence_of() macro
but uses variables declared by the sequence_of_no_tagvars() macro
to prefetch the final tag.
(asn1_decode_principal_name): Update for new asn1buf_remains()
calling convention. Call sequence_of_no_tagvars(), etc. instead
of sequence_of(), etc. in order to not declare shadowing
block-local variables.
(decode_array_body): Update for new asn1buf_remains() calling
convention.
(asn1_decode_sequence_of_enctype): Update for new
asn1buf_remains() calling convention.
* krb5_decode.c (next_tag): Call get_tag_indef() in order to get
information about whether the length is indefinite. Don't check
the tag class and construction explicitly.
(get_eoc): New macro to get a tag and check if it is an EOC
encoding.
(get_field, opt_field): Move the check for the tag class and
construction to here.
(get_field_body, get_lenfield_body): Call get_eoc() instead of
next_tag() if we are decoding a constructed indefinite encoding.
(begin_structure): Use a different variable to indicate whether
the sequence is indefinite as opposed to whether an individual
field is indefinite.
(end_structure): Update to new calling convention of
asn1buf_sync().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12816 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12815 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ser_actx.c: Move prototypes (listed below) to int-proto.h
* int-proto.h: Add prototypes for krb5_ser_authdata_init,
krb5_ser_address_init, krb5_ser_authenticator_init,
krb5_ser_checksum_init, krb5_ser_keyblock_init,
krb5_ser_principal_init.
* ser_adata.c, ser_addr.c, ser_auth.c, ser_cksum.c, ser_key.c,
ser_princ.c: Include int-proto.h for prototypes.
By moving the prototypes to int-proto.h, it ndles the gcc warning
on missing prototypes. These functions are intenal and all used by
krb5_ser_auth_context_init()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12814 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12809 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12808 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
as to have the correct pointer type when passed to
{mk,rd}_{safe,priv}() functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12807 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12806 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a cast of session key to C_Block *, since CNS is inconsistent in
this area as well.
* mk_priv.c (krb_mk_priv): Align with CNS by taking C_Block *.
* mk_safe.c (krb_mk_safe): Align with CNS by taking C_Block *.
* rd_priv.c (krb_rd_priv): Align with CNS by taking C_Block *.
* rd_safe.c (krb_rd_safe): Align with CNS by taking C_Block *.
* recvauth.c (krb_recvauth): Update call to mk_priv() to have the
correct type.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12805 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
CNS, mostly by making them take C_Block * arguments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12804 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile (lib1.stamp): Use makeindex to generate index instead
of an antiquated texindex program - which is not the same texindex
as in the texinfo package.
* krb5idx.sty: Style for generating indexes. Provides definitions
for use with krb5.ist.
* krb5.ist: makeindex macros. Based on gind.ist.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12802 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
krb5_build_principal_va, krb5_build_printicpal_ext() use unsigned
ints.
* libos.tex: krb5_read_password() takes an unsigned int * as the
final argument.
* keytab.tex: krb5_kt_get_name() takes an unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12801 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
unsigned int as argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12800 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
krb5_read_password now takes an unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12799 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12798 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
unsigned int as argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12797 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
sealed reply string.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12796 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
int length.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12795 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
takes an unsigned int.
* kadm5_defs.h, main.c (pwd_change): Argument err_str_len changed
to unsigned int. (Argument to kadm5_chpass_principal_util()).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12794 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12793 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12792 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
changed to unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12791 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12790 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of -1.
* ktest_equal.c (ktest_equal_krb5_etype_info_entry): Test for
KRB5_ETYPE_NO_SALT. ktest_equal_array_of_octet() and
ktest_equal_array_of_char take unsigned int lengths.
* ktest_equal.h: Add len_unsigned_array macro for a prototype of a
function taking an unsigned int
count. ktest_equal_array_of_octet() is one of
these. ktest_equal_array_of_char() takes an unsigned int as
length.
* trval.c (trval): Unsigned/signed int fix.
* utility.c (asn1_krb5_data_unparse): Better test for krb5_data
length being less than zero.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12789 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
unsigned int * lengths.
* krb524d.c (do_connection): Cast length fields in recvfrom() and
sendto() calls to int.
* sendmsg.c (krb524_sendto_kdc): Cast length fields in recv() and
send() calls to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12788 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
etype_info_entry to KRB5_ETYPE_NO_SALT. Before copying salt into
etype_info_entry, test that salt length (from get_salt_from_key())
is not SALT_TYPE_NO_LENGTH.
* kdc_util.c (get_salt_from_key): Initialize salt type to
SALT_TYPE_NO_LENGTH (instead of -1).
* network.c (process_packet): Cast length in sendto() call to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12787 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
to unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12786 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
to unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12785 dc483132-0cff-0310-8789-dd5450dbe970
|