mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-19 03:52:52 +00:00
Move ConnSSL_InitLibrary() "dummy" from header into C file
(cherry picked from commit 5fd88c81a70d0c9e627f08522e57d251586288eb)
This commit is contained in:
parent
384f965fba
commit
1a2bdd9e4c
@ -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 */
|
||||
|
||||
|
@ -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- */
|
||||
|
Loading…
Reference in New Issue
Block a user