summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* fix time includesMark Eichin1994-08-174-6/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4166 dc483132-0cff-0310-8789-dd5450dbe970
* ctype.hMark Eichin1994-08-143-0/+5
| | | | | | stdio.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4147 dc483132-0cff-0310-8789-dd5450dbe970
* unused labelMark Eichin1994-08-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4146 dc483132-0cff-0310-8789-dd5450dbe970
* stdlib.hMark Eichin1994-08-142-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4145 dc483132-0cff-0310-8789-dd5450dbe970
* index to strchrMark Eichin1994-08-142-2/+1
| | | | | | unused vars git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4144 dc483132-0cff-0310-8789-dd5450dbe970
* punt unused varsMark Eichin1994-08-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4143 dc483132-0cff-0310-8789-dd5450dbe970
* use ctype.hMark Eichin1994-08-141-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4142 dc483132-0cff-0310-8789-dd5450dbe970
* unused varsMark Eichin1994-08-141-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4141 dc483132-0cff-0310-8789-dd5450dbe970
* time.hMark Eichin1994-08-141-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4140 dc483132-0cff-0310-8789-dd5450dbe970
* gcc -Wall: clean up trash following #endifs..Mark Eichin1994-08-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4125 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to prevent krb5_encode.c from writing to constant structures.Theodore Tso1994-08-114-62/+36
| | | | | | Internals of ASN.1 code cleaned up a bit in the process.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4121 dc483132-0cff-0310-8789-dd5450dbe970
* stamp..Mark Eichin1994-08-097-466/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4101 dc483132-0cff-0310-8789-dd5450dbe970
* Stamp Out Imake in Our Lifetimes..Mark Eichin1994-08-0919-1283/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4085 dc483132-0cff-0310-8789-dd5450dbe970
* Changed preauthentication names to match those which Cliff and I agreed uponTheodore Tso1994-08-092-46/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4078 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_decode_k.c (asn1_decode_sequence_of_enctype): fix typoTom Yu1994-08-042-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4045 dc483132-0cff-0310-8789-dd5450dbe970
* oops forgot to look for install programTom Yu1994-08-0412-0/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4042 dc483132-0cff-0310-8789-dd5450dbe970
* make install fixesTom Yu1994-08-0414-22/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4036 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_decode_k.c (asn1_decode_sequence_of_enctype): more fixingTom Yu1994-08-022-1/+9
| | | | | | of realloc(NULL) returning NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4032 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_maybe.c (krb5_scc_open_file): changed an #ifdef fromTom Yu1994-08-022-1/+6
| | | | | | ANSI_STDIO to HAS_SETVBUF git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4031 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h: include ext-proto.h now to avoid type warningsTom Yu1994-07-232-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4010 dc483132-0cff-0310-8789-dd5450dbe970