9 openssl ecparam -genkey -name secp521r1 -noout -out $d1/server.priv
10 openssl ecparam -genkey -name secp521r1 -noout -out $d1/client.priv
11 yes '' | openssl req -new -pubkey -key $d1/server.priv -noout -out $d1/server.pub
13 yes '' | openssl req -new -pubkey -key $d1/client.priv -noout -out $d1/client.pub
16 # Test transfer of a simple file.
18 (sleep 1; $sptps_test -q $d1/client.priv $d1/server.pub localhost 32750 <../README) &
19 $sptps_test $d1/server.priv $d1/client.pub 32750 >$d1/out1
20 cmp $d1/out1 ../README
22 $sptps_test -q $d1/server.priv $d1/client.pub 32750 <../NEWS &
24 $sptps_test $d1/client.priv $d1/server.pub localhost 32750 > $d1/out2
29 $sptps_test -dq $d1/server.priv $d1/client.pub 32750 <../COPYING &
31 sleep 1 | $sptps_test -dq $d1/client.priv $d1/server.pub localhost 32750 >$d1/out3
32 cmp $d1/out3 ../COPYING