The resulting interface for privkey() is a bit odd: it's either a list
of a string, and we look at both ends. Ah well, it's only test code.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
key-cache priv-cache({
privkeys \"$builddir/${privkey}priv.\";
});
+"
+ }
+ {load-private *} {
+ set sitesconf sites-nonego.conf
+ append cfg "
+ local-key load-private(\"[lindex $privkey 1]\",\"$builddir/[lindex $privkey 2]\");
"
}
* {
source stest/common.tcl
# `non-negotiating' ends:
-set privkey(inside) test-example/inside.key
-set privkey(outside) test-example/outside.key
+set privkey(inside) {load-private rsa1 test-example/inside.key}
+set privkey(outside) {load-private rsa1 test-example/outside.key}
# So old, old; ie -oo
# There is no -no because the sites file tells a new inside to expect