summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove kdb4 library building. Nothing in the source tree now needs itEzra Peisach1996-06-113-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8290 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-1033-33/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* s^big^little^ in explanationEzra Peisach1996-06-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8280 dc483132-0cff-0310-8789-dd5450dbe970
* Dynamic test of byteorder when htonl was removed failed for half of theEzra Peisach1996-06-082-0/+6
| | | | | | machines.... Always assumed little endian.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8279 dc483132-0cff-0310-8789-dd5450dbe970
* Use full directory name "error_tables" when building under Windows soTheodore Tso1996-06-072-4/+10
| | | | | | that the build will work correctly under VFAT and NTFS filesystems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8278 dc483132-0cff-0310-8789-dd5450dbe970
* Changed `mutual' element of struct _krb5_gss_ctx_id_rec into more generalKevin Mitchell1996-06-076-12/+21
| | | | | | | `gss_flags' and updated functions that process it; now get delegation flag set properly :) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8275 dc483132-0cff-0310-8789-dd5450dbe970
* Don't pass $(LIBCMD) on the command line. It's set in the windows.inTheodore Tso1996-06-0612-24/+54
| | | | | | prologue for all Makefiles anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8271 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use htonl(); it doesn't exist under Windows. Instead do theTheodore Tso1996-06-062-5/+14
| | | | | | test by casting a pointer to an integer to a char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8259 dc483132-0cff-0310-8789-dd5450dbe970
* Updated .Sanitize fileTheodore Tso1996-06-063-9/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8248 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-069-5/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* Remove last traces of the krb425 libraryTheodore Tso1996-06-062-62/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8244 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
* * 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
* 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
* 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
* Remove vestigal ODBM supportTheodore Tso1996-05-202-32/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8085 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
* Fixes so krb5_seteuid compiles on UltrixSam Hartman1996-05-203-3/+13
| | | | 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
* Fix for HPUxSam Hartman1996-05-202-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8054 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
* * 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
* 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
* * k5seal.c k5unseal.c util_cksum.c:Richard Basch1996-05-154-11/+14
| | | | | | | setup krb5_checksum "contents" and "length" field prior to calling krb5_calculate_checksum(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8029 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed changelog to reflect previous checkinRichard Basch1996-05-151-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8028 dc483132-0cff-0310-8789-dd5450dbe970
* * des_crc.c des_md5.c:Richard Basch1996-05-155-49/+66
| | | | | | | | | | | | | set the length field of the cksum structure. * des3_sha.c: Increase the confounder length to 24 bytes. Set the length of the cksum structure. * cryptoconf.c: sha-des3 cksum has been replaced by hmac-sha git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8027 dc483132-0cff-0310-8789-dd5450dbe970
* * .Sanitize: reflect current filesRichard Basch1996-05-157-164/+135
| | | | | | | | | | * Makefile.in: added hmac-sha * hmac_sha.c: implement HMAC-SHA * sha_crypto.c: use hmac-sha * sha_glue.c: sanity check the passed in checksum length * shs.h: replaced sha-des3 with hmac-sha git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8026 dc483132-0cff-0310-8789-dd5450dbe970
* * md5crypto.c md5glue.c:Richard Basch1996-05-154-2/+16
| | | | | | | | ensure the cksum content length is sufficient. * t_cksum.c: initialize cksum.length git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8025 dc483132-0cff-0310-8789-dd5450dbe970
* * md4crypto.c md4glue.c:Richard Basch1996-05-153-1/+11
| | | | | | ensure the cksum content length is sufficient git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8024 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: the cs_entry routines in cbc_cksum.c are now staticRichard Basch1996-05-155-60/+36
| | | | | | | | | | | | * Makefile.in: removed cs_entry.c * cbc_cksum.c: caller is responsible for allocating cksum->contents and indicate the allocated amount in cksum->length. the cs_entry routines are now static and the cs_entry structure is now in this file to enforce proper use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8023 dc483132-0cff-0310-8789-dd5450dbe970
* crc.c: ensure the cksum length is sufficientRichard Basch1996-05-153-4/+14
| | | | | | crc-test.c: set the cksum length field git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8022 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_req_ext.c mk_safe.c send_tgs.c:Richard Basch1996-05-155-28/+37
| | | | | | | | | set the length field of the krb5_checksum structure before calling krb5_calculate_checksum. * str_conv.c: replaced sha-des3 cksum with hmac-sha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8021 dc483132-0cff-0310-8789-dd5450dbe970
* Remove old, outdated libraryTheodore Tso1996-05-1428-3056/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8019 dc483132-0cff-0310-8789-dd5450dbe970
* Change call to krb5_auth_con_setcksumtype to useTheodore Tso1996-05-142-1/+7
| | | | | | krb5_auth_con_set_req_cksumtype by default instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8018 dc483132-0cff-0310-8789-dd5450dbe970
* ser_ctx.c (krb5_context_size, krb5_context_externalize,Theodore Tso1996-05-148-208/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | krb5_context_internalize): Add missing fields from the serialized context: clockskew, default_kdc_req_sumtype, default_ap_req_sumtype, default_safe_sumtype, kdc_default_options, library_options, profile_secure, fcc_default_format, scc_default_format. ser_actx.c (krb5_auth_context_size, krb5_auth_context_externalize, krb5_auth_context_internalize): Serialize the two fields req_cksumtype and safe_cksumtype, instead of the one cksumtype field. mk_safe.c (krb_mk_safe): Use safe_cksumtype instead of cksumtype in the auth context. mk_req_ext.c (krb5_mk_req_extended): Use req_cksumtype instead of cksumtype in the auth context. init_ctx.c (krb5_init_context): Add support for new profile relations libdefaults/tkt_lifetime, libdefaults/kdc_req_checksum_type, libdefaults/ap_req_cksumtype, libdefaults/safe_checksumtype, and libdefaults/kdc_default_options. auth_con.h: Remove old cksumtype element, and replace it with req_cksumtype and safe_cksumtype. auth_con.c (krb5_auth_con_init): Initialize the req_cksumtype and safe_cksumtype from the context's default req_cksumtype and safe_cksumtype. (krb5_auth_con_set_req_cksumtype, krb5_auth_con_set_safe_cksumtype): New functions, to replace old krb5_auth_con_setcksumtype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8017 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SHLIB_LIBS): For shared library, add dependency onEzra Peisach1996-05-133-2/+13
| | | | | | | | | libkrb5.so * configure.in (CRYPTO_SH_VERS): Pass krb5 shared library version to Makefile. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8014 dc483132-0cff-0310-8789-dd5450dbe970
* Copy sizeof(mit_des_cblock), not sizeof(key) so that we are getting theRichard Basch1996-05-112-1/+6
| | | | | | full DES key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7979 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Need to include sys/types.h before regexp.h in test toEzra Peisach1996-05-112-0/+8
| | | | | | | | see if regcomp works. NetBSD required this so that size_t is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7978 dc483132-0cff-0310-8789-dd5450dbe970
* removed des3-cbc-md5 supportRichard Basch1996-05-102-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7977 dc483132-0cff-0310-8789-dd5450dbe970