initialize `r'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2503 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -55,11 +55,13 @@ krb5_mk_req_extended(krb5_context context,
|
||||
Checksum *c_opt;
|
||||
|
||||
krb5_auth_context ac;
|
||||
if(auth_context){
|
||||
if(auth_context) {
|
||||
if(*auth_context == NULL)
|
||||
r = krb5_auth_con_init(context, auth_context);
|
||||
else
|
||||
r = 0;
|
||||
ac = *auth_context;
|
||||
}else
|
||||
} else
|
||||
r = krb5_auth_con_init(context, &ac);
|
||||
if(r)
|
||||
return r;
|
||||
|
Reference in New Issue
Block a user