TEST: Add a test of keygen with an empty template in test/evp_extra_test.c
authorRichard Levitte <levitte@openssl.org>
Wed, 15 Apr 2020 11:36:19 +0000 (13:36 +0200)
committerPauli <paul.dale@oracle.com>
Fri, 17 Apr 2020 09:50:03 +0000 (19:50 +1000)
commit8a5cb59601fa9892e22e26337917cf513d57c473
treebe491a12c60f53abbdff98905a8a6db9ebaf644d
parentd0ddf9b409495e8e2adab8a6b5bc38b34273341a
TEST: Add a test of keygen with an empty template in test/evp_extra_test.c

We do it with RSA, which may seem strange.  However, an RSA "template"
is generally ignored, so this is safe.  This is modelled after the test
code given in github issue #11549.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11550)
test/evp_extra_test.c