summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-03-24 14:25:46 -0400
committerRob Crittenden <rcritten@redhat.com>2011-03-24 15:20:03 -0400
commit8308efeb14baa26c64e97ee5ec3a01229c563856 (patch)
treecbc093925071933eac448f810c36cb02b18c2eb6 /daemons/ipa-slapi-plugins
parent0693b67f200c3b02480e1185383bfa8507fbeeb7 (diff)
downloadfreeipa.git-8308efeb14baa26c64e97ee5ec3a01229c563856.tar.gz
freeipa.git-8308efeb14baa26c64e97ee5ec3a01229c563856.tar.xz
freeipa.git-8308efeb14baa26c64e97ee5ec3a01229c563856.zip
Fix uninitialized variable.
https://fedorahosted.org/freeipa/ticket/1118
Diffstat (limited to 'daemons/ipa-slapi-plugins')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c
index 12932034..df1c171a 100644
--- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c
+++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c
@@ -260,7 +260,7 @@ static Slapi_Value **encrypt_encode_key(struct ipapwd_krbcfg *krbcfg,
int krbTicketFlags;
struct berval *bval = NULL;
Slapi_Value **svals = NULL;
- krb5_principal princ;
+ krb5_principal princ = NULL;
krb5_error_code krberr;
krb5_data pwd;
struct ipapwd_keyset *kset = NULL;