... | ... |
@@ -302,9 +302,7 @@ main (int argc, char **argv) |
302 | 302 |
if (check_flevel ()) |
303 | 303 |
exit (FCE_INIT); |
304 | 304 |
|
305 |
-#if defined(_WIN32) |
|
306 | 305 |
cl_initialize_crypto(); |
307 |
-#endif |
|
308 | 306 |
|
309 | 307 |
if ((retcl = cl_init (CL_INIT_DEFAULT))) |
310 | 308 |
{ |
... | ... |
@@ -743,6 +741,8 @@ main (int argc, char **argv) |
743 | 743 |
|
744 | 744 |
optfree (opts); |
745 | 745 |
|
746 |
+ cl_cleanup_crypto(); |
|
747 |
+ |
|
746 | 748 |
return (ret); |
747 | 749 |
} |
748 | 750 |
|