Commit a2755b16 authored by Richard Levitte's avatar Richard Levitte
Browse files

test/uitest.c's pem_password_cb returned 1 instead of the password length

parent 3816be5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ char *default_config_file = NULL;
static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata)
{
    OPENSSL_strlcpy(buf, (char *)userdata, (size_t)size);
    return 1;
    return strlen(buf);
}

/*