summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* (FILES): Include lib/crypto/sha/* in list of files to be built forTheodore Tso1996-06-062-1/+9
| | | | | | | | Windows and the Macintosh. (makefile-windows): Build lib/crypto/sha/makefile for Windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8243 dc483132-0cff-0310-8789-dd5450dbe970
* Include sha in the list of subdirectories for the MacintoshTheodore Tso1996-06-062-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8242 dc483132-0cff-0310-8789-dd5450dbe970
* A static function must not use the INTERFACE keywordTheodore Tso1996-06-062-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8241 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part,Ezra Peisach1996-06-052-1/+7
| | | | | | starttime will equal authtime if not sent OTW. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8232 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_k_decode.c (asn1_decode_enc_kdc_rep_part): If starttime isEzra Peisach1996-06-052-1/+7
| | | | | | | | | not sent over the wire, set equal to authtime. The kdc does not return the starttime if it matches the authtime. This shows up readilly with kdc5_hammer.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8231 dc483132-0cff-0310-8789-dd5450dbe970
* Always do USE_ANAME if kdbm_deplib is not defined, since in sharedTheodore Tso1996-06-042-0/+13
| | | | | | | | | library situations we may need to resolve all undefined symbols. (We don't do USE_ANAME if kdbm_deplib is defined because the db library used for kdb may be different from the one used for the aname work. This is a bit of an ugly botch, but it will work for now.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8226 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Ezra's changes to allow compiling w/o krb4Tom Yu1996-06-042-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8212 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Ezra's patches to allow compilation w/o krb4Tom Yu1996-06-042-0/+15
| | | | | | support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8211 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in,configure.in: allow compilation w/o krb4 (Ezra'sTom Yu1996-06-043-1/+25
| | | | | | patches) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8210 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c: Ezra's patches to trim unsed arg fromTom Yu1996-06-041-6/+14
| | | | | | verify_krb_v5_tgt, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8209 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: back out previous changes and useTom Yu1996-06-033-7/+8
| | | | | | Ezra's patches instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8207 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.in: only link getdtablesize.o if neededTom Yu1996-06-033-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8205 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_CHECK_DBM_PROTO): sense of arguments to beTom Yu1996-05-292-2/+7
| | | | | | evaluated was reversed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8163 dc483132-0cff-0310-8789-dd5450dbe970
* Use USE_ANAMESam Hartman1996-05-262-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8124 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_RUN_FLAGSSam Hartman1996-05-235-8/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8121 dc483132-0cff-0310-8789-dd5450dbe970
* Do not build libgssapi.a on AIX, because it doesnt workSam Hartman1996-05-233-8/+24
| | | | | | (unresolved symbols) and would be fairly useless anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8120 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_RUN_FLAGS in configure.in, and use appropriate run flags forSam Hartman1996-05-239-8/+25
| | | | | | each test so shared libraries are happy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8119 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_RUN_FLAGS in configure.in, and use appropriate run flags forSam Hartman1996-05-233-6/+21
| | | | | | | | | | each test so shared libraries are happy. Also, for tests that use weak or zero keys, make sure we link in enough object modules to allow us to overide parts of libcrypto even on systems with early binding in shared libs lik AIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8118 dc483132-0cff-0310-8789-dd5450dbe970
* * Ignore the error if we cannot make ksu set-uid; we don't want toSam Hartman1996-05-232-1/+7
| | | | | | abort make install in this situation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8117 dc483132-0cff-0310-8789-dd5450dbe970
* Use secure context for loginSam Hartman1996-05-232-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8116 dc483132-0cff-0310-8789-dd5450dbe970
* md4crypto.c:Richard Basch1996-05-222-2/+12
| | | | | | | | | The incorrect size was being used to compare the computed message digest and the supplied checksum for the "fixed" md4 case, causing decryption integrity failures. [Fixed by epeisach/audited by basch; fixes 'make check'] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8099 dc483132-0cff-0310-8789-dd5450dbe970
* Update use of libupdate to use the new command line argumentsTheodore Tso1996-05-212-8/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8086 dc483132-0cff-0310-8789-dd5450dbe970
* Remove vestigal ODBM supportTheodore Tso1996-05-202-32/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8085 dc483132-0cff-0310-8789-dd5450dbe970
* Remove support for ODBMTheodore Tso1996-05-202-8/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8084 dc483132-0cff-0310-8789-dd5450dbe970
* Remove vestigal support for ODBMTheodore Tso1996-05-202-12/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8083 dc483132-0cff-0310-8789-dd5450dbe970
* Update autoconf to version 2.10. This will fix the reported bugs ofTheodore Tso1996-05-2023-2020/+11668
| | | | | | | the install-sh script getting cached with the wrong values, as well as bringing us to a more recent version of autoconf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8078 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.conf.M: Document kdc_req_checksumtype, as_req_checksum_type, andTheodore Tso1996-05-203-2/+23
| | | | | | | | | safe_checksum_type. krb5.conf: Remove the tkt_lifetime parameter altogether. We may end up doing it slightly differently post-Beta 6... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8067 dc483132-0cff-0310-8789-dd5450dbe970
* md5crypto.c, md5crypto.h: Change use of RSA_MD5_DES_CKSUM_LENGTH toTheodore Tso1996-05-204-125/+73
| | | | | | | | | | | use OLD_RSA_MD5_DES_CKSUM_LENGTH and NEW_RSA_MD5_DES_CKSUM_LENGTH, as appropriate. t_cksum.c (main): Use proper header file constants to get the correct checksum length for the MD4 and MD5 old-style and new-style checksum functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8066 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of RSA_MD4_DES_CKSUM_LENGTH to useTheodore Tso1996-05-203-36/+36
| | | | | | | OLD_RSA_MD4_DES_CKSUM_LENGTH and NEW_RSA_MD4_DES_CKSUM_LENGTH, as appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8065 dc483132-0cff-0310-8789-dd5450dbe970
* Don't do timing tests; it takes too long!Theodore Tso1996-05-202-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8064 dc483132-0cff-0310-8789-dd5450dbe970
* update Makefile.in for new libupdateTom Yu1996-05-206-26/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8060 dc483132-0cff-0310-8789-dd5450dbe970
* fix libupdate and allow it to deal with multiple directoriesTom Yu1996-05-202-7/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8059 dc483132-0cff-0310-8789-dd5450dbe970
* Fixes so krb5_seteuid compiles on UltrixSam Hartman1996-05-205-5/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8058 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up some annoying pre-processor typosSam Hartman1996-05-201-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8057 dc483132-0cff-0310-8789-dd5450dbe970
* document changes to libupdate.shTom Yu1996-05-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8056 dc483132-0cff-0310-8789-dd5450dbe970
* * libupdate.sh: do the shift before the assignmentsTom Yu1996-05-201-18/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8055 dc483132-0cff-0310-8789-dd5450dbe970
* Fix for HPUxSam Hartman1996-05-202-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8054 dc483132-0cff-0310-8789-dd5450dbe970
* Do not keep source cache open if we are going to useSam Hartman1996-05-202-5/+10
| | | | | | it as the target cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8053 dc483132-0cff-0310-8789-dd5450dbe970
* As per mail describing the ksu problem, invent a krb5utilSam Hartman1996-05-195-3/+65
| | | | | | | function to properly set the euid on all systems where it is possible. Ksu cannot be used without this function in a secure manner. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8052 dc483132-0cff-0310-8789-dd5450dbe970
* Check for uid_t so that new prototype worksSam Hartman1996-05-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8051 dc483132-0cff-0310-8789-dd5450dbe970
* Prototype new function: krb5_seteuidSam Hartman1996-05-192-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8050 dc483132-0cff-0310-8789-dd5450dbe970
* Significant security fixes to ksuSam Hartman1996-05-197-73/+148
| | | | | | | | | | | | | | | | * Use source euid all throughout procedure of opening source ccache, Richard's code had a race condition. * Use target euid while looking up .k5login and constructing target ccache. * Avoid chowns completely; they create race conditions. Fchown could have been used if we wanted to be really careful, but they aren't necessary and we would have to violate abstractions. * Clean up several conditions that would allow users to delete arbitrary files of the user they were ksuing to without authorization. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8049 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c: Do not provide prototypes for dbm_error orEzra Peisach1996-05-182-2/+7
| | | | | | | | dbm_clearerr if they are really macros. Required for Ultrix... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8048 dc483132-0cff-0310-8789-dd5450dbe970
* * des3_sha.c: Add static keywords in function declarartions toEzra Peisach1996-05-182-2/+7
| | | | | | match earlier declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8047 dc483132-0cff-0310-8789-dd5450dbe970
* Define $library from the positional arguments before --force uses $libraryTheodore Tso1996-05-182-4/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8046 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak. Free tempbuf before returningTheodore Tso1996-05-182-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8045 dc483132-0cff-0310-8789-dd5450dbe970
* Define MD5_K5BETA_COMPAT and MD5_K5BETA_COMP_DEF so that we continueTheodore Tso1996-05-183-4/+20
| | | | | | | | | | | | doing things the wrong (broken) way. All hail backwards compatibility.... The code now generates the old checksum, but it will verify both the old and the correct checksum formats. Also fixed two bugs in the "correct" MD5_CRYPTO implementation; use a zero initialization vector, and calculate the confounder at the beginning of the message, not at the end. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8044 dc483132-0cff-0310-8789-dd5450dbe970
* Define MD4_K5BETA_COMPAT and MD4_K5BETA_COMP_DEF so that we continueTheodore Tso1996-05-183-6/+22
| | | | | | | | | | | | doing things the wrong (broken) way. All hail backwards compatibility.... The code now generates the old checksum, but it will verify both the old and the correct checksum formats. Also fixed two bugs in the "correct" MD4_CRYPTO implementation; use a zero initialization vector, and calculate the confounder at the beginning of the message, not at the end. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8043 dc483132-0cff-0310-8789-dd5450dbe970
* Correctly implement getsockname(), so it does getsockname(), notTheodore Tso1996-05-172-10/+41
| | | | | | getpeername(), and add the function getpeername(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8040 dc483132-0cff-0310-8789-dd5450dbe970
* (AC_CHECK_DBM_PROTOS): If the test had already been run and the resultEzra Peisach1996-05-152-2/+8
| | | | | | cached, arguments $3 and $4 were never executed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8030 dc483132-0cff-0310-8789-dd5450dbe970