Nicolas Williams
3b0b9f2dfe
krb5: Constify _krb5_principal2principalname()
2022-01-18 15:12:56 -06:00
Nicolas Williams
fb553dde1d
krb5: Fix warnings
2022-01-14 17:10:16 -06:00
Nicolas Williams
87f8c0d2b5
krb5: Add name attributes to krb5_principal
...
We now have what we need in krb5_principal to implement much of RFC6680.
Now we populate those fields so that they can be accessed by GSS-API
RFC6680 name attributes functions.
The next commit should add much of the GSS-API RFC6680 name attributes
functions and functionality.
2022-01-01 23:30:15 -06:00
Roland C. Dowdeswell
f0f07ff408
Use krb5_enomem() more consistently in lib/krb5.
2013-02-13 16:15:00 +08:00
Nicolas Williams
a5e77c578e
Deferred hostname canon using name canon rules
2011-10-22 14:54:13 -05:00
Love Hornquist Astrand
687db64c56
Patch from Secure Endpoints/Asanka Herath for windows support
2009-12-21 08:45:28 +01: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
b1af3f1abc
leak less memory on malloc failure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:43 +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
8d40c2994b
check return value of alloc functions, from Charles Longeau
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand
946f7b0a24
(_krb5_principalname2krb5_principal): add krb5_context to signature.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:02:48 +00:00
Love Hörnquist Åstrand
113d96e4d3
make principalname functions private
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 18:54:15 +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
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
Assar Westerlund
77fc418505
(krb5_principal2principalname): return error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2803 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-08 06:42:44 +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
884b9012ab
Remove non ASN.1 principal code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2354 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 01:37:19 +00:00
Johan Danielsson
338efbfa84
Add const.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2340 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 01:15:56 +00:00
Johan Danielsson
de43cd185b
Replace contents with keyvalue. Prepare for use of asn1-types.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1890 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-10 14:25:15 +00:00
Johan Danielsson
2a5a99b401
Moved some asn1-stuff here.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1282 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 05:59:26 +00:00