| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
add_admin_princs(). Cleanup calling of add_admin_princs() to be
consistant with prototype.
* kdb5_create.c, kdb5_stash.c, kdb5_destroy.c: Cleanup assignments
in conditionals.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13267 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
* test.c (do_remote): Comment out unused variables.
* sendmsg.c (krb524_sendto_kdc): Cleanup assignment in conditional.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13266 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
if - if - else statements.
* kdc_preauth.c (verify_sam_response): Cleanup assignments in
conditionals.
* main.c (main): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13265 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
__STDC__ is defined.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13264 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
conditionals. Ensure that if hostname is MAXHOSTNAMELEN, buffer is
\0 terminated.
* str_conv.c (krb5_string_to_keysalts, krb5_keysalt_iterate):
Clean up assignments in conditionals.
* admin.h: Move kadm5_free_name_list() to version 1 api as it is
present in the ovsec_glue layer.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13263 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13262 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13261 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
assignments in conditionals.
* k5seal.c (make_seal_token_v1): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13260 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
between tokens, so the second can be recognized properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13258 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
conditionals. Include krb524.h if KRB4_CONVERT defined.
* krlogind.c (main): Cleanup unused variables.
(protocol): Cleanup ambiguous if-if-else warning.
* krshd.c (main): Cleanup unused variables.
* krlogin.c (setsignal): Declare as void.
(server_message): Cleanup unused variables.
* setenv.c (setenv): Declare as returning int and clean up
assignments in conditionals.
* kcmd.c (kcmd, rcmd_stream_init_krb5, v5_des_read): Clean up
unused variables and assignments in conditionals.
* forward.c (rd_and_store_for_creds): Likewise.
* krcp.c (rsource): Likewise.
* v4rcp.c (answer_auth): Likewise.
* krsh.c (main): Declare as retuning int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13257 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* g_svc_in_tkt.c (krb_svc_init, krb_svc_init_preauth): Declare as
returning int.
* gethostname.c: Include unistd.h for gethostname() prototype.
* getst.c: Include unistd.h for read() prototype.
* in_tkt.c (in_tkt): Cast arguments to debugging printf to int
from uid_t to match format statement.
* kname_parse.c: Declare k_isname() and k_isinst() as returning
int. Cleanup assigments in conditionals.
* kuserok.c (kuserok): Cleanup assignment in conditional.
* log.c (krb_set_logfile): Declare function as void.
* klog.c (kset_logfile): Likewise.
* pkt_clen.c (pkt_clen): Declare as returning int.
* kntoln.c (krb_kntoln): Likewise.
* fgetst.c (fgetst): Likewise.
* rd_req.c: Declare local variable only if KRB_CRYPT_DEBUG defined.
* recvauth.c: Include stdlib.h and unistd.h for read() and atoi()
prototypes.
* send_to_kdc.c: Include unistd.h for close() prototype.
* sendauth.c (krb_sendauth): Clean up assignment in conditional.
* tkt_string.c (tkt_string): Likewise
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13256 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* enc_dec.c (des_cbc_encrypt): Likewise.
* pcbc_encrypt.c (des_pcbc_encrypt): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13255 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13254 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
is assigned to, without side effects, but never used.
* k5_md5des.c (k5_md5des_verify): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13253 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
* des3.c (k5_des3_docrypt): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13252 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
* d3_cbc.c (mit_des3_cbc_encrypt): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13251 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
mit_des3_cbc_encrypt): Don't use "encrypt" as argument name.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13250 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
information for applications.
* patchlevel.h: Update to current release. Mkrel script generates
this in distribtions.
* configure.in: Add support for parsing patchlevel.h into a
useable form for krb5-config. Generate krb5-config from
krb5-config.in. Add KRB5_BUILD_PROGRAM for variable substitution.
* Makefile.in: Add support for building and installing krb5-config.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13249 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
ptys, even if there is a TIOCPKT, since it may result in hangs on
some systems where BSD packet mode is (presumably) not implemented
properly, such as AIX 4.3.3. Should get cleaned up at some later
point to actually I_PUSH "pckt" or equivalent and do translation
between STREAMS and BSD style packet mode.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13245 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
from define to AC_DEFUN. Autoconf warns of use of AC_REQUIRE
outside such as environment.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13244 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an extra argument that determines whether to call grantpt() and
unlockpt() on systems that support it. The new pty_getpty() will
simply call the extended version. This is to support some
wackiness needed by pty_paranoia.c tests.
* pty-int.h: Add prototype for ptyint_getpty_ext().
* pty_paranoia.c: Add rant about ptys and quirks therein. Needs
to be updated somewhat. Add some more paranoia for the case where
we actually succeed in opening the slave of a closed master and
then succeed in opening the same master. This program will get
rewritten at some point to actually see what things result in EOFs
and under what conditions data will actually get passed between
master and slave.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13243 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
service_name is required.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13242 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variable.
* util_ctxsetup.c (kg2_parse_token): Fix erroneous assignment in
conditional. (code not used in current tree).
* util_seed.c, util_seqnum.c, util_crypt.c, util_cksum.c: Cleanup
up assignments in conditionals.
* ser_sctx.c (kg_queue_internalize): Get rid of unused variable.
* gssapiP_krb5.h: Renable prototype for krb5_gss_release_oid() as
code is back (since 1996).
* k5unseal.c (kg_unseal_v1): Declare internal function static.
* init_sec_context.c (make_ap_req_v2): Comment out non-referenced
function.
* gssapi_krb5.c: Include k5-int.h for krb5_ser_* prototypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13241 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
* kcmd.c (k4cmd): Fix to not use a narrow type.
* krlogin.c: Fix prototypes so they don't include narrow types.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13240 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handling by the pty drivers.
* Makefile.in: Add rules for pty_paranoia and check-paranoia,
which runs pty_paranoia.
* configure.in: Define REVOKE_NEEDS_OPEN for Tru64. Add support
for program building and run flags for the sake of pty_paranoia.
* open_slave.c: Fix somewhat; AIX doesn't like opening the ctty
twice, so only do initial open if we special-case it in
configure.in, e.g. for Tru64.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13239 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13238 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
loggingin. Don't forget to set the ut_tv or ut_time for the
entry.
* update_utmp.c: Update rant about Tru64; remove fetching of
ut_user from old entry. The existence of the old ut_user in the
logout entry in wtmp was confusing last.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13237 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* util_token.c (g_make_token_header): Remove incorrect cast of
length argument to memcpy.
* oid_ops.c (generic_gss_str_to_oid): Cast argument of isxxx()
functions to int - avoids gcc warning when these are implemented
as macros indexing an array.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13236 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
which would otherwise get returned without being set in certain
circumstances.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13235 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
finding the old utmp entry.
* open_ctty.c: Reformat somewhat and revise comment.
* open_slave.c: Rework significantly. Primarily, keep a fd open
to the slave if we need to reopen the slave device following
vhangup() or revoke(), to accommodate various OS quirks.
* update_utmp.c: Revise history section somewhat to document more
HP-UX brokenness. Search via ut_pid before searching via
ut_line. Copy stuff around because entuxent() will clobber some
things.
* void_assoc.c: Revise comment and reformat somewhat.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13234 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
as might happen if the DNS support is not enabled.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13233 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
it instead of inet_ntoa to get the printable address.
(add_host_to_list): Share declaration sections as much as possible. Propagate
errors back correctly from gethostbyname path.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13232 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
VHANG_FIRST is not defined, declare local variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13231 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
have utmpname() but not utmpname().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13230 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* open_slave.c (pty_open_slave): Add workaround for Tru64 v5.0,
since its revoke() will fail if the slave isn't open already.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13229 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
property of incomming parameter in casts.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13228 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
VHANG_LAST defined.
* logwtmp.c (pty_logwtmp): Only declare local variables if
logwtmp() not available on system.
* sane_hostname.c (sockaddrlen): Only define static function if
HAVE_GETNAMEINFO defined. (pty_make_sane_hostname) Declare goto
target only if code compiled in.
gcc warning cleanups
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13227 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13226 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13225 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13224 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
code path if PTY_UTMP_E_EXIT and PTY_UTMPX_E_EXIT exist.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13223 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to "test". Reorder some logic in consistency checks to validate
cache variables against "yes" to account for possible empty or
nonexistent values.
* pty-int.h: Fix conditional prototype of update_wtmp().
* update_wtmp.c: Fix conditional compilation of update_wtmp() to
cover the case where we have setutxent() but don't have updwtmpx()
and WTMPX_FILE, as is the case on some Linux installations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13222 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
sure to include the correct header when checking structure
members.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13219 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pieces of libpty. Do a large amount of checking for consistency
of various utmp and utmpx APIs as currently understood. See rant
in update_utmp.c.
* dump-utmp.c: Rewrite; now has capability to use utmp{,x}name()
to extract entries from utmp and utmpx files. Adjusts field
widths when printing as appropriate.
* libpty.h: Update call signature for update_utmp() and logwtmp();
make prototypes unconditional.
* logwtmp.c: Rewrite. Use pututline() or pututxline() API
whenever possible.
* pty-int.h: Update call signatures for update_wtmp{,x}(); make
prototypes unconditional.
* sane_hostname.c: Use the autoconf-correct macro names.
* update_utmp.c: Rewrite. Basically, use functions from the
pututline() or pututxline() API whenever possible, to avoid
lossage. Inserted large rant about the conjectured history of BSD
utmp, sysV utmp, and utmpx, as well as documentation about some
known quirks.
* update_wtmp.c: Rewrite. Add new function ptyint_logwtmpx() that
takes a utmpx rather than a utmp, so it can fail to lose data
converting to and from utmp.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13218 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13217 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
haven't been since 1999)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13216 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
expression that can't be optimized away.
(KRB5_INIT_CCOPTS): New macro.
(WITH_CC): Add gcc warning flags to CCOPTS instead of CC. Add option
-Wno-comment to stop gcc from complaining about SunOS system header
files. Call AC_REQUIRE on KRB5_INIT_CCOPTS.
(WITH_CCOPTS): Add to CCOPTS instead of simply assigning to it. Call
AC_REQUIRE on KRB5_INIT_CCOPTS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13215 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
declaration to match code. Native Dec Alpha compiler errors on the
inconsistancy.
* secure.h (PROTOTYPE): Only define if not defined already.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13214 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13213 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
code from GSSAPI.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13212 dc483132-0cff-0310-8789-dd5450dbe970
|