Tobias Ringström wrote:
> I did add a new boolean config option at first (ssl-system-authorities),
> but I decided that I did not like it because I figured that the default
> value would need to change depending on whether ssl-authorities-file was
> used or not.
>
> How about the following solution? It will load the system CAs if
> ssl-authorities-file is not used, but not if ssl-authorities-file is
> used. You can get around that by prefixing the filename with a plus (+).
Syntactically, this would generate confusion. A parser would have to
parse the file to get the value, yet the value itself would have to be
parsed to separate "optional addition directive" from "filename." How
this would interact with some file system in the future that allows plus
signs is unknown.
Semantically, this is mixing two orthogonal ideas into one value:
boolean:append/replace and string:filename. It would be better to just
make a separate explicit boolean value, since this is in effect what's
going on anyway, just with a syntax that's proprietary and confusing.
Garret
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 21 20:43:09 2003