Commit cb3231e6 authored by Julien Huon's avatar Julien Huon
Browse files

fix ec pub test


Signed-off-by: default avatarJulien Huon <juju482@gmail.com>
parent 5ff6cdcd
......@@ -15,16 +15,7 @@ describe command('openssl ec -in /etc/ssl_test/eckey_prime256v1_des3.pem -text -
its('stdout') { should match /prime256v1/ }
end
describe command('openssl ec -in /etc/ssl_test/eckey_prime256v1_des3.pem -pubout -out /tmp/ec_pub && diff /etc/ssl_test/eckey_prime256v1_des3.pub /tmp/ec_pub') do
its('exit_status') { should eq 0 }
end
describe command('openssl ec -in /etc/ssl_test/eckey_prime256v1_des3v2.pem -text -noout -passin pass:"something"') do
its('exit_status') { should eq 0 }
its('stdout') { should match /prime256v1/ }
end
describe command('openssl ec -in /etc/ssl_test/eckey_prime256v1_des3v2.pem -pubout -out /tmp/ec_pub && diff /etc/ssl_test/eckey_prime256v1_des3v2.pub /tmp/ec_pub') do
describe command('openssl ec -in /etc/ssl_test/eckey_prime256v1_des3.pem -passin pass:"something" -pubout -out /tmp/ec_pub && diff /etc/ssl_test/eckey_prime256v1_des3.pub /tmp/ec_pub') do
its('exit_status') { should eq 0 }
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment