Commit Graph

41 Commits

Author SHA1 Message Date
Jeffrey Altman 93518bfab4 use memset_s
lib roken includes support for memset_s() but it was not applied
to the Heimdal source tree.

Change-Id: I8362ec97a9be50205bb2d398e65b629b88ce1acd
2017-04-29 01:05:59 -04:00
Nicolas Williams 6a0f45c4d7 Use __attribute__ ((__name__)) form
Protect against macros named noreturn and so on.
2017-03-13 18:39:41 -04:00
Nicolas Williams 2ebec2e4ec Fix some Doxygen warnings 2016-12-14 22:05:46 -06:00
Nicolas Williams c80816f9c3 krb5_context: embed mutex in structure
Instead of allocating a separate mutex object on the heap,
include the HEIMDAL_MUTEX in the krb5_context structure.

Change-Id: If6db484177410487176985e43e3b43e0f2166518
2016-04-10 17:05:07 -05:00
Roland C. Dowdeswell f0f07ff408 Use krb5_enomem() more consistently in lib/krb5. 2013-02-13 16:15:00 +08:00
Love Hornquist Astrand 58ff480763 rewrite send to kdc to be more agressive, try kdcs in paralell and easier to configure behavior 2013-02-10 19:02:52 -08:00
Nicolas Williams 3bebbe5323 Fixes to make Heimdal -Wall -Werror clean
These fixes make developer mode build, at least on Ubuntu.
2011-11-02 21:42:08 -05:00
Love Hornquist Astrand d3f85af92c move deprecated function to deprecated.c 2011-09-25 19:03:11 +02:00
Love Hörnquist Åstrand 8060a561db switch to KRB5_ENCTYPE 2011-07-24 16:02:22 -07:00
Love Hornquist Astrand 305596d9ad Rename subsystem_DEPRECATED to subsystem_DEPRECATED_FUNCTION(X)
Start to explain what the replacement function is.
Generate the #define/#undef logic in generated header files.
Use gcc style where the deprecation warning is after the prototype.
2011-05-17 23:12:51 -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
Asanka C. Herath 0f853405fe Add missing export and calling convention annotations 2010-11-24 15:32:49 -05:00
Love Hornquist Astrand fae3d127a2 remove krb4 support 2010-11-20 14:38:21 -08:00
Asanka Herath f88854effa Windows: Correct calling convention for krb5_free_unparsed_name() 2010-08-20 13:14:14 -04:00
Asanka Herath 5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Asanka Herath 72848585cd KRB5_DEPRECATED needs to be prefixed to the declaration on Windows 2009-11-25 12:43:16 -05:00
Asanka Herath c53686e69b More KRB5_DEPRECATED fixes 2009-11-24 10:15:14 -08:00
Asanka Herath b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand a4e9e537e8 deprecated warning 2009-11-22 16:09:55 -08:00
Love Hornquist Astrand 58ca56ab95 deprecate krb5_auth_getremoteseqnumber 2009-11-22 12:26:23 -08:00
Love Hornquist Astrand 768a4460b4 move back krb5_get_err_text to error_string.c for now 2009-11-04 22:33:04 -08:00
Love Hornquist Astrand 8d84cfe5c2 deprecate krb5_get_err_text 2009-10-12 09:37:54 -07:00
Love Hornquist Astrand 615820b0af move krb5_generate_subkey here and deprecate 2009-10-04 11:02:43 -07:00
Love Hornquist Astrand a29c65b417 add krb5_free_unparsed_name for OpenSSH + gssapi patch, make it deprecated 2009-08-25 23:07:21 -07:00
Love Hornquist Astrand cdf6c8a199 Don't return void, Solaris CC doesn't like that 2009-08-14 20:07:48 +02:00
Love Hornquist Astrand 0ff7f9ebd2 doxygen 2009-08-14 15:12:05 +02:00
Love Hornquist Astrand 9160374a4c doxygen 2009-08-14 13:47:25 +02:00
Love Hornquist Astrand 9211c47a30 Deprecate krb5_get_cred_from_kdc{,_opt} since they are replacement functions 2009-07-17 20:38:32 -07:00
Love Hörnquist Åstrand db78789397 more deprecated bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:10:08 +00:00
Love Hörnquist Åstrand 1b8f373415 move krb5_set_error_string() and friend here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:39 +00:00
Love Hörnquist Åstrand c843882a27 move krb5_free_creds_contents here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:08:51 +00:00
Love Hörnquist Åstrand 240b0f785c make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:58:15 +00:00
Love Hörnquist Åstrand eb9e6a6793 deprecate krb5_princ_realm and krb5_princ_set_realm, there are better replacements
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 07:54:53 +00:00
Love Hörnquist Åstrand 0f076f8d93 krb5_cc_gen_new now deprecated.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:11:14 +00:00
Love Hörnquist Åstrand 7f3fa7c41b Use krb5_cc_new_unique() instead of krb5_cc_gen_new()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:53 +00:00
Love Hörnquist Åstrand 90737f4260 move krb5_cc_gen_new to deprecated, but don't mark it yet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:27 +00:00
Love Hörnquist Åstrand ac2c3d7f52 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:42 +00:00
Love Hörnquist Åstrand ce2ab466e6 krb5_425_conv_principal is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:00 +00:00
Love Hörnquist Åstrand 4e5f2d4ab5 krb5_425_conv_principal_ext is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:50 +00:00
Love Hörnquist Åstrand d02c07be0d prompte krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:28:39 +00:00
Love Hörnquist Åstrand 02ef5a6496 move deprecated functions here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:52:16 +00:00