aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/enginetest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/engine/enginetest.c')
-rw-r--r--crypto/engine/enginetest.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c
index 01c3a9f5fe..598cb31a6f 100644
--- a/crypto/engine/enginetest.c
+++ b/crypto/engine/enginetest.c
@@ -161,12 +161,7 @@ int main(int argc, char *argv[])
}
else
printf("Remove that should fail did.\n");
- if(!ENGINE_remove(new_h1))
- {
- printf("Remove failed!\n");
- goto end;
- }
- display_engine_list();
+ ERR_clear_error();
if(!ENGINE_remove(new_h3))
{
printf("Remove failed!\n");