]> git.sur5r.net Git - openldap/commitdiff
Validate krb5_init_context
authorKurt Zeilenga <kurt@openldap.org>
Mon, 10 Jan 2000 21:37:04 +0000 (21:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 10 Jan 2000 21:37:04 +0000 (21:37 +0000)
libraries/liblutil/passwd.c

index 561750f69bda72e62fcf6d7130c2dfac6d323528..0e18a098c83229086ea12057978af89147357b4e 100644 (file)
@@ -614,7 +614,7 @@ static int chk_kerberos(
                krb5_preauthtype pre_auth_types[] = {KRB5_PADATA_ENC_TIMESTAMP};
 #endif
 
-               krb5_init_context( &context );
+               ret = krb5_init_context( &context );
                if (ret) {
                        return 1;
                }