summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Export krb5_free_data, krb5_free_data_contentsRichard Basch1997-02-192-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9909 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_xfree from the public interfaceRichard Basch1997-02-184-15/+71
| | | | | | | Implement krb5_free_data & krb5_free_data_contents to cleanup krb5_data structures and data contents allocated by the krb5 library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9904 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c: Remove include of kerberosIV/krb4-proto.hEzra Peisach1997-02-182-1/+4
| | | | | | Prototypes have been merged with krb.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9897 dc483132-0cff-0310-8789-dd5450dbe970
* krb4 library required llibcew (fscanf) under win16Richard Basch1997-02-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9893 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed declaration (FAR keyword added)Richard Basch1997-02-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9891 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed arg list to match prototype (error in last checkin)Richard Basch1997-02-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9889 dc483132-0cff-0310-8789-dd5450dbe970
* Export additional routines for krb4 library (win16/win32)Richard Basch1997-02-185-12/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9887 dc483132-0cff-0310-8789-dd5450dbe970
* krb4_16.def krb4_32.def: Export definitions for krb4 library (win16/win32)Richard Basch1997-02-187-42/+223
| | | | | | | | krb5_16.def krb5_32.def: Additional exports needed by krb4 library. win_glue.c: support krb4 library Makefile.in: Build krb4 library (win16/win32) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9885 dc483132-0cff-0310-8789-dd5450dbe970
* Build krb4 compatibility library for win16/win32Richard Basch1997-02-1848-498/+325
| | | | | | (including application server routines, such as krb_rd_req) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9883 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the microsecond adjustment for WindowsRichard Basch1997-02-182-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9882 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: build comerr dllRichard Basch1997-02-158-43/+149
| | | | | | | | | comerr16.def comerr32.def: New definition files for Windows comerr library krb5_16.def krb5_32.def: Removed comerr exports win_glue.c: win32 dll entry/exit code added gssapi32.def krb5_32.def: Removed obsolete WEP & LibMain exports git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9875 dc483132-0cff-0310-8789-dd5450dbe970
* Added routine krb5_finish_ets, to complement krb5_initialize_etsRichard Basch1997-02-152-5/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9868 dc483132-0cff-0310-8789-dd5450dbe970
* get_in_tkt.c: Initialize as_reply so that an error in one of the earlyRichard Basch1997-02-132-4/+10
| | | | | | | calls (ie. krb5_os_localaddr) will not cause the cleanup procedure to try to free a garbage pointer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9861 dc483132-0cff-0310-8789-dd5450dbe970
* * fwd_tgt.c (krb5_fwd_tgt_creds): Use the client's realm ratherTom Yu1997-02-132-4/+10
| | | | | | | | than the server's realm for constructing the tgs principal. Remove TC_MATCH_SRV_NAMEONLY from call to retrieve_cred() because we want to get an exact match. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9858 dc483132-0cff-0310-8789-dd5450dbe970
* get_creds.c: export krb5_get_credentials_renew, krb5_get_credentials_validateRichard Basch1997-02-112-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9843 dc483132-0cff-0310-8789-dd5450dbe970
* gssapi32.def: removed obsolete keywords (RESIDENTNAME, EXETYPE)Richard Basch1997-02-115-26/+29
| | | | | | | krb5_16.def krb5_32.def: export additional functions needed by kinit Makefile.in: attempt at making a functional SAP library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9842 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/uio.hEzra Peisach1997-02-103-0/+10
| | | | | | | | | * svc_udp.c: Include sys/uio.h is available for struct iovec. Needed for Irix 5.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9836 dc483132-0cff-0310-8789-dd5450dbe970
* * crypto_glue.c (krb5_calculate_checksum): Add krb5_const toEzra Peisach1997-02-102-1/+6
| | | | | | krb5_pointer of in data to match prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9835 dc483132-0cff-0310-8789-dd5450dbe970
* * svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (andTom Yu1997-02-102-0/+11
| | | | | | | possibly other systems) by passing in a non-NULL iovec to recvmsg(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9834 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-0999-870/+964
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* mk_faddr.c: Added FAR declarationRichard Basch1997-02-072-6/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9816 dc483132-0cff-0310-8789-dd5450dbe970
* copy_addrs.c fwd_tgt.c mk_cred.c sendauth.c: Added FAR declarationsRichard Basch1997-02-075-29/+41
| | | | | | | mk_cred.c: Declare ncreds as krb5_int32 so that the right type will be passed to krb5_mk_ncred_basic (win16 fix) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9815 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Create shared directory before building object filesRichard Basch1997-02-072-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9812 dc483132-0cff-0310-8789-dd5450dbe970
* t_cksum: Link against libkrb5.a as it depends upon krb5_use_enctypeEzra Peisach1997-02-064-4/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9805 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove the CopyHeader and CopySrcHeader rules asEzra Peisach1997-02-063-5/+16
| | | | | | | | | | | | | | they are handled in Makefile.in * Makefile.in: Create include/gssapi on unix. Make clean removes built gssapi.h These were broken on the unix side. Make complained about too many rules for building the ../../../include/gssapi/.... files - because they were defined twice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9804 dc483132-0cff-0310-8789-dd5450dbe970
* util_crypt.c: Include k5-int.h because we need to access the privateRichard Basch1997-02-062-1/+7
| | | | | | cryptosystem structures of the krb5_encrypt_block structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9798 dc483132-0cff-0310-8789-dd5450dbe970
* gssapi.hin: Make sure KRB5_EXPORTVAR is definedRichard Basch1997-02-062-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9797 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-06252-1231/+2281
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-062-5/+11
| | | | | | des3_sha.c: Confounder size should be 8, not 24 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9787 dc483132-0cff-0310-8789-dd5450dbe970
* Add brand.c to the SRCS line so that the kerbsrc.mac.tar includesTheodore Tso1996-12-232-0/+6
| | | | | | brand.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9679 dc483132-0cff-0310-8789-dd5450dbe970
* brand.c: New file, which allows a release engineer to "brand" the krb5Theodore Tso1996-12-213-0/+22
| | | | | | | | library or a binary application program statically linked against the krb5 library. This file is statically included by init_ctx.c, to force it be in a binary library or application program. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9674 dc483132-0cff-0310-8789-dd5450dbe970
* Use new call krb5_vercheck() for Windows timebomb checking; this callTheodore Tso1996-12-212-6/+15
| | | | | | | returns an error code, which is returned to the user if the timebomb should be activated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9671 dc483132-0cff-0310-8789-dd5450dbe970
* Change the timebomb to be June 1, 1997. Make the timebomb exit theTheodore Tso1996-12-212-32/+40
| | | | | | application more gracefully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9670 dc483132-0cff-0310-8789-dd5450dbe970
* Change name of library in file to be krb5_16.def [PR#302]Theodore Tso1996-12-202-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9669 dc483132-0cff-0310-8789-dd5450dbe970
* Added the error codes KRB5_APPL_EXPIRED and KRB5_LIB_EXPIREDTheodore Tso1996-12-132-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9633 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-1344-114/+422
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * api.0/init.exp, api.2/init.exp: use spawn/expect instead of execBarry Jaspan1996-12-093-2/+11
| | | | | | so tests don't fail when kadmin.local produces output git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9630 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (acquire_accept_cred): use krb5_kt_get_entryBarry Jaspan1996-12-042-36/+14
| | | | | | | instead of scanning through keytab to find matching principal [krb5-libs/210] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9601 dc483132-0cff-0310-8789-dd5450dbe970
* * Various changes to allow channel bindings to work with both UDPBarry Jaspan1996-12-047-25/+82
| | | | | | | | | | | | | | | | | | | | | | and TCP cleanly [krb5-libs/180]: * auth_gssapi.c: remove the special-case exception to channel bindings failure added in the previous revision, since we now solve the problem by making channel bindings not fail * clnt_udp.c: use a connected socket so that the client can determine its own source address with getsockname * svc.h: add xp_laddr and xp_laddrlen fields to SVCXPRT structure * svc_tcp.c: set xp_laddr and xp_laddrlen when a connection is established * svc_udp.c (svcudp_recv): use recvmsg with MSG_PEEK followed by recvfrom in order to determine both source and dest address on unconnected UDP socket, set xp_laddr and xp_laddrlen git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9600 dc483132-0cff-0310-8789-dd5450dbe970
* * server_acl.c (acl_load_acl_file): log errors viaBarry Jaspan1996-12-032-9/+21
| | | | | | | | krb5_klog_syslog, not fprintf and com_err [krb5-admin/238]; don't coredump when an acl line is too long; handle catchall_entry == NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9595 dc483132-0cff-0310-8789-dd5450dbe970
* Do not link shared against -ldb. Tom and I decided this should waitSam Hartman1996-11-222-1/+5
| | | | | | until after 1.0. [224] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9524 dc483132-0cff-0310-8789-dd5450dbe970
* rc_dfl.c: Apply jik's fix to allow the expunging of the replay cacheTheodore Tso1996-11-192-15/+37
| | | | | | to happen correctly. [174,132] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9426 dc483132-0cff-0310-8789-dd5450dbe970
* *gssapi.h: Renamed to gssapi.hinTom Yu1996-11-184-19/+25
| | | | | | | | | | | | | | * gssapi.hin: Remove #ifdef USE_AUTOCONF_H; we're grepping symbols directly from autoconf.h now. * configure.in: Change CopySrcHeader to CopyHeader, as gssapi.h is now generated in the build tree. * Makefile.in: Add rules to generate gssapi.h from gssapi.hin, similar to how krb5.h is generated from krb5.hin. Remove -DUSE_AUTOCONF_H from $(CFLAGS) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9425 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c (main): Add declaration of optind for systems thatTom Yu1996-11-152-0/+6
| | | | | | don't have it in stdio.h or the like. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9419 dc483132-0cff-0310-8789-dd5450dbe970
* asn1_k_encode.c (asn1_encode_principal_name): Be liberal aboutTheodore Tso1996-11-152-9/+35
| | | | | | | | | | | | | | accepting a principal with a zero-length component where the data pointer is NULL. After all, asn1_decode_principal_name generates them that way! [PR#188] (asn1_encode_encrypted_data): (asn1_encode_krb5_authdata_elt): (asn1_encode_encryption_key): (asn1_encode_checksum): (asn1_encode_realm): If the length is zero, allow the data field to be NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9418 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: VERBOSE is now inherited from env-setup.shBarry Jaspan1996-11-142-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9416 dc483132-0cff-0310-8789-dd5450dbe970
* * osconfig.c: Add warning re: global variablesTom Yu1996-11-142-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9410 dc483132-0cff-0310-8789-dd5450dbe970
* make clean was missing some things; see ChangeLogs for detailsTom Yu1996-11-144-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9409 dc483132-0cff-0310-8789-dd5450dbe970
* revert kt_default_name changes; see ChangeLogs for detailsTom Yu1996-11-135-52/+39
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9407 dc483132-0cff-0310-8789-dd5450dbe970
* clean: Remove test programs and objectsEzra Peisach1996-11-132-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9404 dc483132-0cff-0310-8789-dd5450dbe970