diff --git a/tests/tecdh b/tests/tecdh index b9a68ba4..fe155dd6 100755 --- a/tests/tecdh +++ b/tests/tecdh @@ -23,18 +23,17 @@ pkeyutl -derive -inkey ${ECBASEURI} -peerkey ${TESTSSRCDIR}/testp256.pub.pem -out ${TMPPDIR}/forced.pub.ecdh.bin' -### Private EC Key import not supported yet -#title PARA "ECDH Exchange forced: private key in file" -#ossl ' -#pkeyutl -derive -inkey ${TESTSSRCDIR}/testp256.pri.pem -# -peerkey ${ECPEERPUBURI} -# -out ${TMPPDIR}/forced.pri.ecdh.bin' +title PARA "ECDH Exchange forced: private key in file" +ossl ' +pkeyutl -derive -inkey ${TESTSSRCDIR}/testp256.pri.pem + -peerkey ${ECPEERPUBURI} + -out ${TMPPDIR}/forced.pri.ecdh.bin' -#title PARA "ECDH Exchange forced: both key in file" -#ossl ' -#pkeyutl -derive -inkey ${TESTSSRCDIR}/testp256.pri.pem -# -peerkey ${TESTSSRCDIR}/testp256.pub.pem -# -out ${TMPPDIR}/forced.both.ecdh.bin' +title PARA "ECDH Exchange forced: both key in file" +ossl ' +pkeyutl -derive -inkey ${TESTSSRCDIR}/testp256.pri.pem + -peerkey ${TESTSSRCDIR}/testp256.pub.pem + -out ${TMPPDIR}/forced.both.ecdh.bin' OPENSSL_CONF=${ORIG_OPENSSL_CONF} exit 0