summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't build the krb425 library. It is deprecatedTheodore Tso1994-10-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4447 dc483132-0cff-0310-8789-dd5450dbe970
* Rearrange declarations so it will actually compileTheodore Tso1994-10-041-16/+43
| | | | | | Added copyright notice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4444 dc483132-0cff-0310-8789-dd5450dbe970
* Commited wrong version of kdb_compat.hTheodore Tso1994-10-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4442 dc483132-0cff-0310-8789-dd5450dbe970
* Don't build the krb425 library. It is deprecatedTheodore Tso1994-10-041-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4439 dc483132-0cff-0310-8789-dd5450dbe970
* Add structure magic numbersTheodore Tso1994-10-043-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4438 dc483132-0cff-0310-8789-dd5450dbe970
* Reserve space for the structure magic numbersTheodore Tso1994-10-042-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4437 dc483132-0cff-0310-8789-dd5450dbe970
* Add backwards compatibility for version numbers 1.0 and 2.0 of theTheodore Tso1994-10-043-1/+112
| | | | | | database entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4436 dc483132-0cff-0310-8789-dd5450dbe970
* Database records now must be version 2.0 (instead of versions 1.0 orTheodore Tso1994-10-042-2/+10
| | | | | | | 0.0). The structure magic numbers force us to do an incompatible version number change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4435 dc483132-0cff-0310-8789-dd5450dbe970
* make install obey $(DESTDIR)Theodore Tso1994-10-046-3/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4433 dc483132-0cff-0310-8789-dd5450dbe970
* Make install obey $(DESTDIR)Theodore Tso1994-10-044-4/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4432 dc483132-0cff-0310-8789-dd5450dbe970
* Fix type used to call krb5_rc_io_size (one last time)Theodore Tso1994-10-032-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4430 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number placeholder to statically initialized structuresTheodore Tso1994-10-012-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4421 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number placeholder to statically initialized structuresTheodore Tso1994-10-018-0/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4419 dc483132-0cff-0310-8789-dd5450dbe970
* index()->strchr()Theodore Tso1994-10-013-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4418 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number placeholder to statically initialized filesTheodore Tso1994-10-014-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4417 dc483132-0cff-0310-8789-dd5450dbe970
* Remove libkdb5.a on make cleanTheodore Tso1994-09-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4407 dc483132-0cff-0310-8789-dd5450dbe970
* Removed MIT DES filesTheodore Tso1994-09-305-599/+3
| | | | | | Removed usage of the exern for mit_des_debug git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4404 dc483132-0cff-0310-8789-dd5450dbe970
* If the prefix "FILE:" is not given, assume the default operations listTheodore Tso1994-09-302-2/+10
| | | | | | (whcih is krb5_kt_dfl_ops). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4402 dc483132-0cff-0310-8789-dd5450dbe970
* In krb5_rc_dfl_recover, krb5_rc_io_size was being called withTheodore Tso1994-09-302-1/+7
| | | | | | completely bogus arguments. It's amazing it worked at all... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4394 dc483132-0cff-0310-8789-dd5450dbe970
* Removed MIT DES implementation; only use Fergeson DESTheodore Tso1994-09-3019-1893/+153
| | | | | | | | | Fix destest and verify so that they work with the new DES libraries. "make check" will run the DES test suite. (Note that all of the krb5 libraries have to be built, since they depend on them.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4393 dc483132-0cff-0310-8789-dd5450dbe970
* cache name was not being properly null-terminatedTheodore Tso1994-09-292-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4385 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for KRB5_KDCREP_SKEW error codeTheodore Tso1994-09-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4380 dc483132-0cff-0310-8789-dd5450dbe970
* Added new error codes (from suggested changes from Openvision)Theodore Tso1994-09-292-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4379 dc483132-0cff-0310-8789-dd5450dbe970
* Return new error codes KRB5_IN_TKT_REALM_MISTCH and KRB5_KDCREP_SKEWTheodore Tso1994-09-293-7/+28
| | | | | | instead of more generic error codes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4378 dc483132-0cff-0310-8789-dd5450dbe970
* Added realm compare functionTheodore Tso1994-09-292-3/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4377 dc483132-0cff-0310-8789-dd5450dbe970
* Always fill in a NULL for a zero-length char string or octet string inTheodore Tso1994-09-292-3/+20
| | | | | | | asn1_remove_charstring or asn1_remove_octetstring. This means we do the same thing no matter whether the system returns NULL for malloc(0) or not. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4376 dc483132-0cff-0310-8789-dd5450dbe970
* Return the most recent key (with the greatest kvno) instead of theTheodore Tso1994-09-292-7/+25
| | | | | | first key found in the keytab file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4375 dc483132-0cff-0310-8789-dd5450dbe970
* = should have been == in commented out codeTheodore Tso1994-09-282-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4359 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to reflect fact that krb5_rc_dfl_close() now frees the rcache structureTheodore Tso1994-09-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4358 dc483132-0cff-0310-8789-dd5450dbe970
* Change the interface of krb5_ktfile_read_entry andTheodore Tso1994-09-236-46/+45
| | | | | | | | krb5_ktfile_internal_read_entry so that they don't allocate memory for the top-level structure. All of their callers didn't need it and were freeing it anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4342 dc483132-0cff-0310-8789-dd5450dbe970
* xfree() should have been krb5_xfree()Theodore Tso1994-09-232-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4338 dc483132-0cff-0310-8789-dd5450dbe970
* Oops. One more free needed to be insertedTheodore Tso1994-09-231-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4337 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak caused by not freeing top-level structureTheodore Tso1994-09-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4336 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure memory associated the credentials cache is freed after theTheodore Tso1994-09-234-10/+32
| | | | | | cache is destroyed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4334 dc483132-0cff-0310-8789-dd5450dbe970
* Fix silly spelling typoTheodore Tso1994-09-232-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4333 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in comment. (Silly spelling mistake)Theodore Tso1994-09-231-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4332 dc483132-0cff-0310-8789-dd5450dbe970
* Fix order of autoconf macros so that the tests can find CC properly.Theodore Tso1994-09-232-3/+8
| | | | | | | (WITH_CCOPTS was too late in the file. We need a standard order to be documented and enforced!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4330 dc483132-0cff-0310-8789-dd5450dbe970
* Applied Cybersafe's changes to do transited realm path checkingTheodore Tso1994-09-226-2/+170
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4328 dc483132-0cff-0310-8789-dd5450dbe970
* Fix memory leak in decode timestamp returnTheodore Tso1994-09-213-1/+15
| | | | | | Initialize return variable in decode_krb5_authdata() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4327 dc483132-0cff-0310-8789-dd5450dbe970
* Use krb5_rd_req instead of krb5_rd_req_decode, to eliminate some codeTheodore Tso1994-09-152-19/+7
| | | | | | duplication. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4241 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bug reported by Bill Sommerfeld where a missing byte-swap on aTheodore Tso1994-09-152-3/+15
| | | | | | little-endian machine causes the delete operation fail. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4235 dc483132-0cff-0310-8789-dd5450dbe970
* Two global variables didn't need to be global; changed to be staticTheodore Tso1994-09-092-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4211 dc483132-0cff-0310-8789-dd5450dbe970
* Fix pointer aliasing problem between newkey and authent->subkeyTheodore Tso1994-08-202-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4204 dc483132-0cff-0310-8789-dd5450dbe970
* Fix wrong OID's!Theodore Tso1994-08-202-12/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4203 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug of trying to use freed memoryTheodore Tso1994-08-202-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4202 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-18400-2222/+350
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* Fix to srvmatch so that when comparing the server, we ignore the realm forTheodore Tso1994-08-184-2/+30
| | | | | | | | the purposes of the comparison. This used to be the what this worked, but it was broken in the krb5 principal cutover long ago. Since we weren't doing cross-realm authentication, no one noticed.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4185 dc483132-0cff-0310-8789-dd5450dbe970
* Make krb5_encode_kdc_rep pass in the correct msg_type to the ASN.1Theodore Tso1994-08-172-1/+27
| | | | | | | | encoding routines. Not that value is being used now, but it might be in the future, and we should make sure the high level routines are doing the right thing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4176 dc483132-0cff-0310-8789-dd5450dbe970
* 1) Stop checking the msg_type field unless KRB5_MSGTYPE_STRICT is definedTheodore Tso1994-08-175-55/+86
| | | | | | | | | 2) Allow the enc_kdc_rep_part structure to have a ASN.1 tag of either 25 (AS REP) or 26 (TGS REP). Unfortunately, old versions of Kerberos always use TGS REP (#26), so we can't change the encoder with breaking compatibility. Sigh.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4175 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed GSSAPI Object Identifier. (Transcription error between MIT andTheodore Tso1994-08-172-4/+9
| | | | | | OpenVision....) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4170 dc483132-0cff-0310-8789-dd5450dbe970