Roland C. Dowdeswell
f0f07ff408
Use krb5_enomem() more consistently in lib/krb5.
2013-02-13 16:15:00 +08: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
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
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
20fe2f0da2
N_()ify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:37:25 +00:00
Love Hörnquist Åstrand
7fcd266fdd
use krb5_set_error_message
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
a3b5be4b36
use krb5_set_error_message
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:29:03 +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
b521a2fb43
(krb5_mk_rep): if KRB5_AUTH_CONTEXT_USE_SUBKEY is set send subkey
...
(generate if needed)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:16:58 +00:00
Love Hörnquist Åstrand
051ed5b5a1
(krb5_mk_rep): abort on internal asn1 encode error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:06:10 +00:00
Love Hörnquist Åstrand
b556de6237
(krb5_mk_rep): abort on internal asn1 encode error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:05:02 +00:00
Johan Danielsson
0b41135c1f
(krb5_mk_rep): if the local sequence number is non-zero, don't
...
generate a new one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 18:05:14 +00:00
Johan Danielsson
4b2a8a83d2
free allocated storage; reported by Howard Chu
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-19 13:30:36 +00:00
Johan Danielsson
ddc308c36f
use ASN1_MALLOC_ENCODE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 16:26:05 +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
68b83a6eb0
auth_context should not be a pointer
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 20:57:23 +00:00
Assar Westerlund
accdd87f82
check return value from krb5_crypto_init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:50:26 +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
7ac811dc6a
abort -> krb5_abortx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6036 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:42:23 +00:00
Johan Danielsson
aaae186ab9
merge new-crypto branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Assar Westerlund
e99f4c1720
remove arbitrary limit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4488 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-01 02:44:29 +00:00
Johan Danielsson
c1b12683ca
Make sure enc_part.etype is an encryption type, and not a key type.
...
Use krb5_encode_EncAPRepPart.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4365 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-31 16:34:11 +00:00
Assar Westerlund
f93ce02560
free some more memory. check some more return values.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4021 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-16 09:49:56 +00:00
Johan Danielsson
fb0f4ca9c3
Make authcontext->keyblock a pointer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:51:35 +00:00
Johan Danielsson
8eb312128d
fix warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3588 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-13 16:30:09 +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
Assar Westerlund
69790eb6db
fixed calls to `krb5_{en,de}crypt'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2022 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 09:52:39 +00:00
Johan Danielsson
405d2be7c4
Update to use new decode/encode syntax.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1952 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-01 23:54:55 +00:00
Assar Westerlund
9cb6e5dddc
Some support for KRB5_AUTH_CONTEXT_DO_SEQUENCE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1807 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 14:37:54 +00:00
Assar Westerlund
aa0c1fc1c0
clean-up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1318 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 11:08:58 +00:00
Assar Westerlund
89c747e774
removed old code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1276 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 04:03:27 +00:00
Assar Westerlund
2c974bc55b
use krb5_encrypt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1271 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 04:00:37 +00:00
Assar Westerlund
6a5deb6e2a
new files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1222 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-08 15:03:59 +00:00