Skip to content
Snippets Groups Projects
Commit f225a468 authored by rswindell's avatar rswindell
Browse files

Don't call cryptlib functions when WITHOUT_CRYPTLIB (SSH) is defined.

parent 11340cc4
No related branches found
No related tags found
No related merge requests found
...@@ -1330,10 +1330,12 @@ int main(int argc, char **argv) ...@@ -1330,10 +1330,12 @@ int main(int argc, char **argv)
return 0; return 0;
} }
#if !defined(WITHOUT_CRYPTLIB)
/* Cryptlib initialization MUST be done before ciolib init */ /* Cryptlib initialization MUST be done before ciolib init */
if(!crypt_loaded) if(!crypt_loaded)
init_crypt(); init_crypt();
atexit(exit_crypt); atexit(exit_crypt);
#endif
/* UIFC initialization */ /* UIFC initialization */
memset(&uifc,0,sizeof(uifc)); memset(&uifc,0,sizeof(uifc));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment