[vlc-devel] [PATCH] gnutls: search CA in every known locations.

Francois Cartegnie fcvlcdev at free.fr
Tue Jun 29 19:17:52 CEST 2010


Le mardi 29 juin 2010, vous avez écrit :
> I think the stack can be used here. The path comes from the user
>  configuration (and is typically hard-coded at build-time anyway).

Not sure I get it. Stack as array or stack as variables ?

> > stdcafiles[i_length]); +                if (!vlc_stat (psz_path,
> > &t_stat_lstat))
> 
> What's the point of this extra check anyway?

Just passing it to gnutls_Addx509File would throw an error message for each 
try, and a missing alternative file couldn't be a relevant error.

Francois



More information about the vlc-devel mailing list