summaryrefslogtreecommitdiffstats
path: root/src/plugins/preauth
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2011-09-05 01:21:55 +0000
committerKen Raeburn <raeburn@mit.edu>2011-09-05 01:21:55 +0000
commit4c30cecad26f615bddbeaf610d51a2076fd407bb (patch)
treecd32f544f375184b971d407099584ecfec4cfa26 /src/plugins/preauth
parent60a8119b1b6effc48b4c13de410bfcc45d029b94 (diff)
downloadkrb5-4c30cecad26f615bddbeaf610d51a2076fd407bb.tar.gz
krb5-4c30cecad26f615bddbeaf610d51a2076fd407bb.tar.xz
krb5-4c30cecad26f615bddbeaf610d51a2076fd407bb.zip
Silence various "may be used uninitialized" warnings from GCC caused
by it not figuring out the control flow (initialization and use both tied to some other variable). DB2 code not included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25146 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/preauth')
-rw-r--r--src/plugins/preauth/pkinit/pkinit_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit_srv.c b/src/plugins/preauth/pkinit/pkinit_srv.c
index 3cd976d1ed..1dea777e7d 100644
--- a/src/plugins/preauth/pkinit/pkinit_srv.c
+++ b/src/plugins/preauth/pkinit/pkinit_srv.c
@@ -306,7 +306,7 @@ pkinit_server_verify_padata(krb5_context context,
krb5_auth_pack *auth_pack = NULL;
krb5_auth_pack_draft9 *auth_pack9 = NULL;
pkinit_kdc_context plgctx = NULL;
- pkinit_kdc_req_context reqctx;
+ pkinit_kdc_req_context reqctx = NULL;
krb5_preauthtype pa_type;
krb5_checksum cksum = {0, 0, 0, NULL};
krb5_data *der_req = NULL;