Add additional OPENSSL_init() handling add dummy call to (hopefully)

ensure OPENSSL_init() is always linked into an application.
This commit is contained in:
Dr. Stephen Henson
2011-04-01 15:46:03 +00:00
parent 3f7468318d
commit c4acfb1fd0
4 changed files with 18 additions and 4 deletions

View File

@@ -112,7 +112,12 @@
void OPENSSL_init(void)
{
static int done = 0;
if (done)
return;
done = 1;
#if 1
fprintf(stderr, "Called OPENSSL_init\n");
#endif
}