summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * AIX shared library fix: get -ldb not dbmSam Hartman1996-08-053-1/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8904 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c: remove krb5_free_keyblock_contents (moved toBarry Jaspan1996-08-022-9/+5
| | | | | | libkrb5.a) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8899 dc483132-0cff-0310-8789-dd5450dbe970
* Remove references to unused non-portable symbolsSam Hartman1996-08-021-20/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8898 dc483132-0cff-0310-8789-dd5450dbe970
* * f_keyblock.c (krb5_free_keyblock_contents): addedBarry Jaspan1996-08-022-4/+20
| | | | | | krb5_free_keyblock_contents git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8897 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (krb5_gss_acquire_cred): Add const to localEzra Peisach1996-08-022-1/+7
| | | | | | variable which is pointing to const data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8896 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapiP_generic.h: If not on a Mac or under Dos, and stdlib.hEzra Peisach1996-08-023-0/+13
| | | | | | | | | | | | | | exists, include it. * configure.in: Check for stdlib.h This cleans up many warnings on the Alpha as malloc is not previously declared. In Beta-6, gssapiP_generic.h always included k5-int.h (which included stdlib.h). Now, only the DOS and Mac platforms include k5-int.h so we need to include stdlib.h if present. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8895 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): alloc enough bytes forBarry Jaspan1996-08-023-2/+12
| | | | | | | | | adbname * kadm_rpc_xdr.c (xdr_krb5_kvno): assign tmp before xdr'ing it to avoid a spurious purify error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8894 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Tom Yu1996-08-011-0/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8887 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Punt -I$(srcdir)/..; it was gross and not neededTom Yu1996-08-011-1/+1
| | | | | | | because headers get installed in build tree before building the library anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8886 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix test for STRUCT_RPCENT_ALREADY_PROVIDED ifTom Yu1996-08-011-8/+7
| | | | | | | | | | | | | | there happens to be a /usr/include/rpc/netdb.h. This causes /usr/include/netdb.h to include netdb.h from our tree rather from /usr/include/rpc, which of course results in massive damage. Basically, if /usr/include/netdb.h contains rpcent declaration and /usr/include/rpc/netdb.h exists, then assume that there is no struct rpcent in the system include files. It's really unfortunate that we need to do this at all, but it's all we can do short of renaming a bunch of include files or directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8885 dc483132-0cff-0310-8789-dd5450dbe970
* * getrpcent.c: Shuffle inclusion order somewhatTom Yu1996-08-011-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8884 dc483132-0cff-0310-8789-dd5450dbe970
* * client_init.c: Revert prior change due to netdb.h shufflingTom Yu1996-07-312-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8879 dc483132-0cff-0310-8789-dd5450dbe970
* * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,Tom Yu1996-07-319-0/+18
| | | | | | | getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c: Revert prior change due to netdb.h shuffling. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8878 dc483132-0cff-0310-8789-dd5450dbe970
* * types.hin: Remove #include <netdb.h> because it appears the onlyTom Yu1996-07-311-0/+2
| | | | | | | reason for doing so was to get struct rpcent, and we're getting that via <rpc/netdb.h>. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8877 dc483132-0cff-0310-8789-dd5450dbe970
* * client_init.c: Remove #include <netdb.h> because rpc/types.hTom Yu1996-07-302-1/+5
| | | | | | (included from kadm5/admin.h) gets it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8868 dc483132-0cff-0310-8789-dd5450dbe970
* * clnt_generic.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c,Tom Yu1996-07-309-8/+12
| | | | | | | | getrpcent.c, getrpcport.c, pmap_getmaps.c, svc_simple.c: Remove #include <netdb.h>; it's already included in rpc/types.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8867 dc483132-0cff-0310-8789-dd5450dbe970
* * svc_auth_gssapi.c: #include <rpc/rpc.h> before <sys/stat.h> (toTom Yu1996-07-301-1/+5
| | | | | | get sys/types.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8866 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc.h: Don't include netdb.h (rpc/types.h already includes it)Tom Yu1996-07-301-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8865 dc483132-0cff-0310-8789-dd5450dbe970
* Deal with a /usr/include/netdb.h that contains struct rpcentSam Hartman1996-07-304-5/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8864 dc483132-0cff-0310-8789-dd5450dbe970
* * an_to_ln.c (aname_do_match): #elif HAVE_REGEXP_H should haveTom Yu1996-07-292-1/+6
| | | | | | been HAVE_REGEXPR_H git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8857 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up shared library handling and $(STEXT) usageSam Hartman1996-07-282-6/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8855 dc483132-0cff-0310-8789-dd5450dbe970
* Remove prototype of strcpySam Hartman1996-07-282-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8854 dc483132-0cff-0310-8789-dd5450dbe970
* It's not an out-of-space error if malloc(0) returns 0.Sam Hartman1996-07-272-13/+21
| | | | | | | So, when copying key_data, only call malloc if the length is non-zero. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8850 dc483132-0cff-0310-8789-dd5450dbe970
* Remove old 1988 version of setenv in preference to calling krb5_setenvSam Hartman1996-07-275-172/+10
| | | | | | from lib/krb5/posix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8849 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Sam Hartman1996-07-271-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8848 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OBJS): Remove trailing backslash on a comment; itTom Yu1996-07-262-1/+6
| | | | | | was keeping HDRS from getting set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8846 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-261-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8844 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, an_to_ln.c (do_replacement, aname_do_match): useMarc Horowitz1996-07-261-2/+7
| | | | | | | the compile() function in -lgen on solaris. Check for the relevant stuff at configure-time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8843 dc483132-0cff-0310-8789-dd5450dbe970
* * an_to_ln.c (do_replacement, aname_do_match): use the compile()Marc Horowitz1996-07-261-15/+7
| | | | | | function in -lgen on solaris git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8842 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_PROG_INSTALL, since it's needed for a "make install"Theodore Tso1996-07-262-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8830 dc483132-0cff-0310-8789-dd5450dbe970
* AIX shared libraries treat resolution of imported symbolsSam Hartman1996-07-262-0/+14
| | | | | | | | | | | | different from resolution of external non-imported symbols. Therefore, we really want to link against libdb.a at shared library creation time. Instead of linking on all platforms and making libdb.a a shared library, I have chosen to only link on AIX where it will work and not generate a problem even if the application later linksgainst libdb.a because making libdb.a a shared library would make it harder to distribute util/db2. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8829 dc483132-0cff-0310-8789-dd5450dbe970
* restore old version (oops checked in debugging versTom Yu1996-07-261-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8827 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: remove trailing backslash from comment under SRCSTom Yu1996-07-263-1/+10
| | | | | | because it was causing line that set OBJS variable to git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8826 dc483132-0cff-0310-8789-dd5450dbe970
* admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis aroundTheodore Tso1996-07-253-1/+11
| | | | | | | | | assignment used as truth value to reduce gcc -Wall flames. misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: Add KADM5_OK return value upon success. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8823 dc483132-0cff-0310-8789-dd5450dbe970
* Move setenv.c to clnt directory where it belongsTheodore Tso1996-07-251-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8816 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_order_check):Theodore Tso1996-07-258-18/+44
| | | | | | | | | | | | | | | | | | | | | util_ordering.c (g_order_init): Changed return code to be an int 32, since we return a com_err error code. Change the type of the sequence number to be an uint32. gssapi.h: Define gss_int32 -- needed for error code returns. Makefile.in (EHDRDIR): Use $(S) instead of /, so that EHDRDIR is valid under windows. Fix how the header file is copied in under Windows. gssapiP_generic.h: Include gssapi_generic.h instead of gssapi.h, so that we get the definitions of the nametype oids. oid_ops.c (generic_gss_release_oid): Re-enable function. util_token.c (g_verify_token_header): Changed return code to be an int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8814 dc483132-0cff-0310-8789-dd5450dbe970
* init_sec_context.c (krb5_gss_init_sec_context): Fixed error checkingTheodore Tso1996-07-255-22/+31
| | | | | | | | | | so that if you pass a bad mechanism type, it *will* get flagged as an error. rel_oid.c (krb5_gss_release_oid): krb5_gss_glue.c(gss_release_oid): Re-enable function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8813 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (krb5_gss_acquire_cred): Initialize variableEzra Peisach1996-07-252-0/+7
| | | | | | | | | before use if GSS_C_NULL_OID_SET. This was causing random failures in gssftp. I was unlucky enough to hit that random case where one of the random stack values was zero. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8812 dc483132-0cff-0310-8789-dd5450dbe970
* util_token.c (g_verify_token_header): Changed return code to be anTheodore Tso1996-07-253-2/+5
| | | | | | unsigned int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8811 dc483132-0cff-0310-8789-dd5450dbe970
* ser_sctx.c (kg_oid_externalize): Add proper return codeTheodore Tso1996-07-254-6/+16
| | | | | | | | | accept_sec_context.c (krb5_gss_accept_sec_context): init_sec_context.c (krb5_gss_init_sec_context): Test (gss_flags & XXXX) against 0 so that we pass a int value to g_order_init. Needed since int is 16 bits for Win16 build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8810 dc483132-0cff-0310-8789-dd5450dbe970
* Remove INTERFACE keyworded; not needed (and causes problems) sinceTheodore Tso1996-07-243-2/+9
| | | | | | we're not exporting this function to the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8809 dc483132-0cff-0310-8789-dd5450dbe970
* Only include <sys/file.h> if building with BSD_DBTheodore Tso1996-07-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8807 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: break out server lib into aTom Yu1996-07-2420-0/+5117
| | | | | | subdirectory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8806 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: break out client lib into aTom Yu1996-07-2411-0/+1537
| | | | | | subdirectory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8805 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: fix shared lib lossage byTom Yu1996-07-2428-6519/+36
| | | | | | rearrangement of subdirectories git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8804 dc483132-0cff-0310-8789-dd5450dbe970
* Use the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, whichTheodore Tso1996-07-242-2/+8
| | | | | | isn't portable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8803 dc483132-0cff-0310-8789-dd5450dbe970
* Change type of first argument to be krb5_preauthtype, to eliminateTheodore Tso1996-07-242-3/+8
| | | | | | compiler warnings under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8802 dc483132-0cff-0310-8789-dd5450dbe970
* Added new error code KRB5_KT_NAME_TOOLONGTheodore Tso1996-07-242-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8801 dc483132-0cff-0310-8789-dd5450dbe970
* Use memset instead of bzeroEzra Peisach1996-07-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8798 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DEPLIBS): Use correct version number forEzra Peisach1996-07-242-1/+6
| | | | | | gssapi_krb5 dependency. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8795 dc483132-0cff-0310-8789-dd5450dbe970