]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid using internal APIs in sim_client 1292/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 24 Feb 2023 19:15:14 +0000 (14:15 -0500)
committerGreg Hudson <ghudson@mit.edu>
Tue, 28 Feb 2023 04:14:12 +0000 (23:14 -0500)
commit9139a60c94c24e41109574e84e7cda9c2dc3fb38
tree9cdf92210d761dcbf6f79b7e6c5256356a4afec7
parent0108d7d7fbb1111c062ac580e69e97103662fc2b
Avoid using internal APIs in sim_client

In sim_client.c, remove the calls to krb5_gen_portaddr() and
krb5_gen_replay_name() as they don't do anything after commit
dcb853ac32779b173f39e19c0f24b0087de85771.  Remove them, and include
krb5.h plus appropriate system headers rather than k5-int.h.

Also use a subkey when negotiating the auth context.  Kerberos
application protocols should generally use subkeys to prevent
cross-connection replay attacks.
src/appl/simple/client/sim_client.c