1# vim:ft=conf
2openssl_conf = openssl_init
3
4default_var = ABC
5nested = "\${default_var}"
6
7[othersection]
8
9[test]
10# These should expand to ABC read from the default section
110.recipient = ${default_var}
121.recipient = $default_var
132.recipient = $(default_var)
14# These should expand to DEF as the other section was explicitly referenced
153.recipient = ${othersection::default_var}
164.recipient = $othersection::default_var
175.recipient = $(othersection::default_var)
18
19[test2]
20default_var = GHI
21# These should expand to GHI since the local section is always searched first
220.recipient = ${default_var}
231.recipient = $default_var
24
25[test3]
26.pragma dollarid:on
27# Out of these, the first should contain the literal "$default_var", the others should expand
280.recipient = literal$default_var
291.recipient = expanded${default_var}
302.recipient = expanded$(default_var)
31
32[test4]
33recipient = literal$nested
34