Move ConnSSL_InitLibrary() "dummy" from header into C file

(cherry picked from commit 5fd88c81a70d0c9e627f08522e57d251586288eb)
This commit is contained in:
Federico G. Schwindt 2012-09-19 00:34:29 +01:00 committed by Alexander Barton
parent 384f965fba
commit 1a2bdd9e4c
2 changed files with 10 additions and 7 deletions

View File

@ -39,13 +39,9 @@ struct ConnSSL_State {
#endif
};
bool
ConnSSL_InitLibrary(void);
#else
static inline bool
ConnSSL_InitLibrary(void)
{ return true; }
#endif /* SSL_SUPPORT */
#endif
bool ConnSSL_InitLibrary(void);
#endif /* conf_ssl_h */

View File

@ -723,6 +723,13 @@ ConnSSL_GetCipherInfo(CONNECTION *c, char *buf, size_t len)
#endif
}
#else
bool
ConnSSL_InitLibrary(void)
{
return true;
}
#endif /* SSL_SUPPORT */
/* -eof- */