If an engine comes up explicitely, it must also come down explicitely
[openssl.git] / apps / rsa.c
index 807bc702b2f4397ac97e30380d8d0e5af2d81726..73579a61a6c529dd3a076f41626e1c4880fb7654 100644 (file)
@@ -294,6 +294,7 @@ int rsa_main(int argc, char **argv)
     } else
         ret = 0;
  end:
+    release_engine(e);
     BIO_free_all(out);
     RSA_free(rsa);
     OPENSSL_free(passin);