diff options
author | Martin Nagy <mnagy@redhat.com> | 2008-06-26 12:52:25 +0200 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2008-06-30 14:17:10 -0400 |
commit | 6cce2f45e8b48422b2c3534b7a73c10ba95ad2fe (patch) | |
tree | dfb668e4020adb3dfcbf0701dfb07182cd1191ca /ipa-server/ipa-slapi-plugins/ipa-pwd-extop | |
parent | f5d9dd647f242841bf9474a3a669b11562fe02f9 (diff) | |
download | freeipa-6cce2f45e8b48422b2c3534b7a73c10ba95ad2fe.tar.gz freeipa-6cce2f45e8b48422b2c3534b7a73c10ba95ad2fe.tar.xz freeipa-6cce2f45e8b48422b2c3534b7a73c10ba95ad2fe.zip |
Fix some small issues that caused compiler warnings, like uninitialized or unused variables or missing krb5 prototypes.
Diffstat (limited to 'ipa-server/ipa-slapi-plugins/ipa-pwd-extop')
-rw-r--r-- | ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c index c25d0f11b..e05d12e4b 100644 --- a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c +++ b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c @@ -63,6 +63,7 @@ #include <prio.h> #include <ssl.h> #include <dirsrv/slapi-plugin.h> +#define KRB5_PRIVATE 1 #include <krb5.h> #include <lber.h> #include <time.h> @@ -121,6 +122,8 @@ #define KRB5P_SALT_SIZE 16 +void krb5int_c_free_keyblock_contents(krb5_context context, register krb5_keyblock *key); + static const char *ipapwd_def_encsalts[] = { "des3-hmac-sha1:normal", /* "arcfour-hmac:normal", |