Commit 5e44201b authored by Aashil Patel's avatar Aashil Patel Committed by Rich Salz
Browse files

Remove unnecessary if condition from apps.c

parent 274d1bee
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -301,9 +301,9 @@ int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp)
        /* We know that there is no previous user data to return to us */
        (void)UI_add_user_data(ui, cb_data);

        if (ok >= 0)
        ok = UI_add_input_string(ui, prompt, ui_flags, buf,
                                 PW_MIN_LENGTH, bufsiz - 1);

        if (ok >= 0 && verify) {
            buff = app_malloc(bufsiz, "password buffer");
            ok = UI_add_verify_string(ui, prompt, ui_flags, buff,