X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fevp_test.c;h=b569678fdda1257b0685d08dba1a5ccf8e822e27;hp=fa3c9221bb16211be347c88a362566fce066456a;hb=cb78486d97328121add07df466b7578076650a90;hpb=9c9aa4f145588500cd2d734d1901a31039f145b9 diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index fa3c9221bb..b569678fdd 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -217,7 +217,6 @@ static int test_cipher(const char *cipher,const unsigned char *key,int kn, const unsigned char *ciphertext,int cn) { const EVP_CIPHER *c; - ENGINE *e; c=EVP_get_cipherbyname(cipher); if(!c) @@ -225,16 +224,6 @@ static int test_cipher(const char *cipher,const unsigned char *key,int kn, test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn); - for(e=ENGINE_get_first() ; e ; e=ENGINE_get_next(e)) - { - c=ENGINE_get_cipher_by_name(e,cipher); - if(!c) - continue; - printf("Testing engine %s\n",ENGINE_get_name(e)); - - test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn); - } - return 1; } @@ -315,8 +304,10 @@ int main(int argc,char **argv) exit(2); } + /* Load up the software EVP_CIPHER and EVP_MD definitions */ OpenSSL_add_all_ciphers(); OpenSSL_add_all_digests(); + /* Load all compiled-in ENGINEs */ ENGINE_load_builtin_engines(); for( ; ; )