shithub: riscv

ref: 2160da07de7fcce233e2229318caa6f4f98f4a45
dir: /rc/bin/tlsclienttunnel/

View raw version
#!/bin/rc

if(! ~ $#* 3){
	echo 'usage: tlsclienttunnel cryptaddr plainaddr cert.thumb' >[1=2]
	exit usage
}
aux/listen1 -t $2 /bin/tlsclient -t $3 $1 &