Files
heimdal/lib/krb5
Stefan Metzmacher acaa62636f lib/krb5: krb5_init_creds_get() passes hostinfo=NULL to krb5_init_creds_step()
The current prototype of krb5_init_creds_step() is completely
useless as the caller has no way to know the destination
realm for the out blob.

The only internal caller of krb5_init_creds_step()
passes hostinfo=NULL and this commit makes it more obvious that hostinfo
is always NULL.

NOTE: commit 1cdc9d5f3c
"krb5: export krb5_init_creds_step()" exported
krb5_init_creds_step() the first time, but that's
not in any released version, so it should be fine
to fix up the prototype.

The aim is to remove hostinfo from the krb5_init_creds_step() internals
completely and move krb5_init_creds_step() to a useful prototype
where it returns the destination realm for the out packet.

Which means the prototype will mostly match the one MIT is using:

   krb5_error_code KRB5_CALLCONV
   krb5_init_creds_step(krb5_context context,
                        krb5_init_creds_context ctx,
                        krb5_data *in,
                        krb5_data *out,
                        krb5_data *realm,
                        unsigned int *flags);

Follow up patches demonstrate that the hostinfo related code
in pk_verify_host() is actually dead code as all layers
just passed down the NULL value from krb5_init_creds_get().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2022-11-17 19:55:32 -05:00
..
2022-02-11 15:13:13 -06:00
2022-01-14 17:10:16 -06:00
2022-01-19 23:38:27 -06:00
2022-11-01 16:10:57 -05:00
2011-05-21 11:57:31 -07:00
2021-09-19 13:25:27 +10:00
2022-09-22 22:13:05 -04:00
2018-09-10 14:42:18 -04:00
2022-11-01 16:10:57 -05:00
2017-04-29 01:05:59 -04:00
2022-01-19 23:38:27 -06:00
2022-01-14 17:10:16 -06:00
2016-04-16 16:58:08 -05:00
2018-10-08 08:46:37 -04:00
2012-01-10 22:54:50 +01:00
2022-01-14 17:10:16 -06:00
2022-03-22 23:36:18 -05:00
2021-03-26 18:47:49 -05:00
2011-07-24 16:02:22 -07:00
2014-04-25 02:42:17 +02:00
2011-05-21 11:57:31 -07:00
2014-04-25 02:42:17 +02:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2007-07-15 20:49:46 +00:00
2022-01-19 23:38:27 -06:00
2022-01-24 15:38:47 -06:00
2022-01-19 23:38:27 -06:00
2022-09-22 22:13:05 -04:00
2022-01-14 17:10:16 -06:00
2014-03-24 23:07:49 -05:00
2022-01-14 17:10:16 -06:00
2011-05-21 11:57:31 -07:00
2022-09-22 22:13:05 -04:00
2016-11-20 17:43:51 -06:00
2022-01-19 23:38:27 -06:00
2022-11-01 16:10:57 -05:00
2022-01-19 23:38:27 -06:00
2022-11-01 16:10:57 -05:00
2022-11-01 16:10:57 -05:00
2022-01-19 23:38:27 -06:00
2022-11-01 16:10:57 -05:00
2022-01-16 00:48:09 -05:00
2012-05-28 13:14:55 +01:00
2011-05-21 11:57:31 -07:00
2019-01-02 13:56:04 -05:00
2010-09-18 14:45:33 -07:00
2022-01-19 23:38:27 -06:00
2022-01-18 15:40:54 -06:00
2022-02-11 16:02:27 -06:00
2011-05-21 11:57:31 -07:00
2009-05-04 06:17:40 +00:00
2014-04-29 11:04:21 -06:00
2009-05-04 06:17:40 +00:00
2021-11-29 12:50:26 +11:00
2022-01-14 17:10:16 -06:00
2011-05-21 11:57:31 -07:00
2009-05-04 06:17:40 +00:00
2009-05-04 06:17:40 +00:00
2009-05-04 06:17:40 +00:00
2009-05-04 06:17:40 +00:00
2022-01-19 23:38:27 -06:00
2022-01-14 17:59:49 -06:00
2011-05-21 11:57:31 -07:00
2021-08-09 21:46:24 +10:00
2022-01-14 17:10:16 -06:00