Commit Graph

17 Commits

Author SHA1 Message Date
Jeffrey Altman
6f3ab01c75 check return copy_Realm, copy_PrincipalName, copy_EncryptionKey
The ASN.1 functions copy_Realm(), copy_PrincipalName() and
copy_EncryptionKey() can fail.  Check the return and perform error
handling as appropriate.

Change-Id: I2b3629d19db96eb41d1cd554cef1dca99745e753
2017-04-29 15:24:42 -04:00
Nicolas Williams
ab61e1d395 Add --add and --referral options to kimpersonate 2016-08-08 14:14:04 -05:00
Nicolas Williams
c2961ced3c Fix leak in kimpersonate 2015-04-13 16:59:20 -05:00
Love Hornquist Astrand
3e0fd6449e /sess-/session-/g since a few extra letter makes it easier to understand 2013-09-03 21:56:04 -07:00
Harald Barth
502b33ca7f kimpersonate sessionkeyoption and afsdes
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2013-09-03 21:53:31 -07:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
1745da3636 fix const warning 2011-05-18 22:28:54 -07: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
Love Hornquist Astrand
f7a6a240c1 check return values 2011-03-12 14:19:17 -08:00
Love Hornquist Astrand
0c112865b4 Drop RCSID 2009-08-20 19:03:15 -07:00
Love Hornquist Astrand
f46b5b4817 free generated ticket [CID-84] 2009-07-30 07:56:10 +02:00
Love Hörnquist Åstrand
4806ca1dbc drop krb5_princ_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:03:20 +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
62cb8dfe09 use krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:24:16 +00:00
Love Hörnquist Åstrand
7455d1213d Fix version number of ticket, it should be 5 not the kvno.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-14 02:31:46 +00:00
Love Hörnquist Åstrand
c1c7757afe Add tool for printing tickets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-18 17:36:06 +00:00