Validate krb5_ccache and krb5_cc_cursor inputs
before use. Avoid null pointer dereference which
can occur if an application fails to properly check
return codes.
Change-Id: I8023808936e60cc7b8e57a062106cfcdc51ee7d7
Start to explain what the replacement function is.
Generate the #define/#undef logic in generated header files.
Use gcc style where the deprecation warning is after the prototype.
The pname to uid functionality at present assumes there is
an implementation of getpwnam() and that the local user
identifier is an integer. On Windows, the local user identifier
is a SId. Add NO_LOCALNAME as a build option so that Windows
(for now) can build without providing a getpwnam() implementation.
Change-Id: I04cfd6d2cd52e6228733f1da1dab420b453e6566
commit f5f9014c90 added the
first use of C99 named struct initializers which are not
supported on Windows. Remove their use in external.c and
in ks_dir.c.
Change-Id: Ibb6b2d5b3dbd4041cb638d2c7a9bd6f916fd45d7
most of these warnings are not problems because of ample
use of abort() calls. However, the large number of warnings
makes it difficult to identify real problems. Initialize
the variables to shut up the compilers.
Change-Id: I8477c11b17c7b6a7d9074c721fdd2d7303b186a8
Windows does not yet support the kcm. However, the header
is now required for building lib/gssapi/ntlm so install it.
Change-Id: I9949794d1159797e11c3e6fdd5675ae857cf04a1
NTMakefile:
replace ntlm/inquire_cred.c with ntlm/creds.c
add ntlm/inquire_sec_context_by_oid.c
add ntlm/iter_cred.c
add missing GSSAPI_CALLCONV function descriptors
conditionalize use of kcm functions with HAVE_KCM
Change-Id: Ia693f67304405bd540c57db8858c13314cd60322
Windows does not support the %z printf format specification
indicating the variable is of size_t. In gen_decode the
variable 'depth' does not need to be of 'size_t'. 'unsigned int'
will suffice.
Change-Id: Ic56290ba702f7681d5e11f9d23bfa3eb7274dbbe
lib/editline has been replaced in the tree by lib/libedit.
However, neither readline() implementation is required by
the Windows build at the present time.
Change-Id: I7d0390d1f03a1d25c3f79ad76206872b388d1d53