diff options
| author | Greg Hudson <ghudson@mit.edu> | 2012-10-27 15:29:48 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-12-19 14:24:23 -0500 |
| commit | f730fddc59265ee1621ec39f847ea047116a2127 (patch) | |
| tree | 0bcf1af7f7a2342e2928762f3ca9236d6226129d /src/lib/krb5/os | |
| parent | 5fa526b9db4940a221606f36e25e36ca525a47ab (diff) | |
| download | krb5-f730fddc59265ee1621ec39f847ea047116a2127.tar.gz krb5-f730fddc59265ee1621ec39f847ea047116a2127.tar.xz krb5-f730fddc59265ee1621ec39f847ea047116a2127.zip | |
Rename internal preauth functions
The preauth functions are internal to libkrb5, so use the k5_ prefix,
don't use KRB5_CALLCONV, and prototype them in int-proto.h. Also
remove krb5_do_preauth from the Unix libkrb5 export list.
Reorder the k5_preauth() and k5_preauth_tryagain() arguments for more
consistency with the clpreauth interface, and put the output padata
arguments at the end.
Rename any remaining uses of "kcontext" to "context" in preauth2.c.
Diffstat (limited to 'src/lib/krb5/os')
| -rw-r--r-- | src/lib/krb5/os/init_os_ctx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c index c4bf3019cf..56b8d92f72 100644 --- a/src/lib/krb5/os/init_os_ctx.c +++ b/src/lib/krb5/os/init_os_ctx.c @@ -28,6 +28,7 @@ #include "k5-int.h" #include "os-proto.h" +#include "../krb/int-proto.h" #include "prof_int.h" /* XXX for profile_copy, not public yet */ #if defined(_WIN32) @@ -517,7 +518,7 @@ krb5_os_free_context(krb5_context ctx) } if (ctx->preauth_context) { - krb5_free_preauth_context(ctx); + k5_free_preauth_context(ctx); ctx->preauth_context = NULL; } krb5int_close_plugin_dirs (&ctx->libkrb5_plugins); |
