Roland C. Dowdeswell
f0f07ff408
Use krb5_enomem() more consistently in lib/krb5.
2013-02-13 16:15:00 +08:00
Love Hornquist Astrand
a01520cb50
validate KRB5_PADATA_REQ_ENC_PA_REP
2011-07-24 20:24:38 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Jeffrey Altman
6850d6a65f
avoid uninit variable and unreachable code warnings
...
most of these warnings are not problems because of ample
use of abort() calls. However, the large number of warnings
makes it difficult to identify real problems. Initialize
the variables to shut up the compilers.
Change-Id: I8477c11b17c7b6a7d9074c721fdd2d7303b186a8
2011-05-17 12:02:16 -04:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Asanka C. Herath
0f853405fe
Add missing export and calling convention annotations
2010-11-24 15:32:49 -05:00
Asanka Herath
5dcc605f6b
Fix calling conventions for Windows
2010-08-20 13:14:10 -04:00
Love Hornquist Astrand
ae74dc7316
allow a cross realm ticket returned in the non referrals case
2010-03-07 01:02:02 -08:00
Love Hornquist Astrand
687db64c56
Patch from Secure Endpoints/Asanka Herath for windows support
2009-12-21 08:45:28 +01:00
Love Hornquist Astrand
faa82b3890
support EXTRACT_TICKET_TIMESYNC
2009-11-22 12:22:59 -08:00
Love Hornquist Astrand
940f050300
doxygen
2009-08-29 01:26:16 -07:00
Love Hörnquist Åstrand
942a821fab
remove RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
f002e0df4c
move _krb5_extract_ticket here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:50:59 +00:00
Love Hörnquist Åstrand
03babea1e3
switch to krb5_clear_error_message
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +00:00
Love Hörnquist Åstrand
c247506e8e
make krb5_ticket_get_flags compile
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:53 +00:00
Love Hörnquist Åstrand
1ec61c11cf
add krb5_ticket_get_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:01:19 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
5fa336aac7
make compile again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:36:54 +00:00
Love Hörnquist Åstrand
250ee44a09
N_()ify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:36:39 +00:00
Love Hörnquist Åstrand
8967bd794e
N_()ify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:36:24 +00:00
Love Hörnquist Åstrand
32d7980f02
use krb5_set_error_message
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:30:49 +00:00
Love Hörnquist Åstrand
dac3a0a031
Cast krb5_error_code to int to avoid warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:30 +00:00
Love Hörnquist Åstrand
7997ff4d88
add krb5_ticket_get_endtime
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:49:18 +00:00
Love Hörnquist Åstrand
d3938b5abb
(krb5_ticket_get_authorization_data_type): unbreak.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:57:18 +00:00
Love Hörnquist Åstrand
7dc5946f3c
Fix extraction of authz data from the AuthorizationData sequence:
...
Where we had
IF-RELEVENT::
WIN2K-PAC
IF-RELEVENT::
SIGNED-PATH
The recursion into find_type_in_ad() for the second element would set
ret = ENOENT, and therefore the tail would set *found = FALSE, despite
the data already being found.
From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:53:58 +00:00
Love Hörnquist Åstrand
8b1cb25ffc
Prefix der primitives with der_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:53:19 +00:00
Love Hörnquist Åstrand
881e730620
Spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 13:21:42 +00:00
Love Hörnquist Åstrand
9b2fa77b4d
(krb5_ticket_get_authorization_data_type): understand
...
KRB5_AUTHDATA_IF_RELEVANT and KRB5_AUTHDATA_AND_OR (but have
KRB5_AUTHDATA_KDC_ISSUED commented out for now)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 13:18:25 +00:00
Love Hörnquist Åstrand
91351971f7
add KRB5_LIB_FUNCTION to all exported functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Love Hörnquist Åstrand
57075c968c
(krb5_ticket_get_authorization_data_type): add error strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-13 12:35:56 +00:00
Love Hörnquist Åstrand
3d146065c3
(krb5_free_ticket): free the ticket itself to match mit behavior,
...
pointed out by Derrick Brashear
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 00:53:12 +00:00
Love Hörnquist Åstrand
a3af14abf9
(krb5_ticket_get_authorization_data_type): reindent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:32:57 +00:00
Love Hörnquist Åstrand
0c533c290e
fix spelling in last commit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 14:51:06 +00:00
Love Hörnquist Åstrand
af371af07a
(krb5_copy_ticket): free all data when failing, copy data to right
...
memory, the later pointed out by Luke Howard.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 02:05:31 +00:00
Love Hörnquist Åstrand
7a095e2381
add ticket access functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 12:18:26 +00:00
Assar Westerlund
d27aa3b62e
add some krb5_{set,clear}_error_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:14:52 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Johan Danielsson
b644bbe059
implement copy_ticket
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3889 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-10 21:48:48 +00:00
Johan Danielsson
5a32a5c8e7
Add copyright notice.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Johan Danielsson
6df3bfa82c
Add free_ticket.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2376 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 19:34:24 +00:00