diff options
| author | Federico G. Schwindt <fgsch@lodoss.net> | 2012-09-19 00:34:29 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-09-27 00:03:56 +0200 |
| commit | 1a2bdd9e4cb31125792482b8b6d8bfcf56cd115a (patch) | |
| tree | 28fc4352727829aee54a4b03dfd019409c537b82 /src | |
| parent | 384f965fba126c4724bffb6f7e2d30d8b7fb50cb (diff) | |
| download | ngircd-1a2bdd9e4cb31125792482b8b6d8bfcf56cd115a.tar.gz ngircd-1a2bdd9e4cb31125792482b8b6d8bfcf56cd115a.zip | |
Move ConnSSL_InitLibrary() "dummy" from header into C file
(cherry picked from commit 5fd88c81a70d0c9e627f08522e57d251586288eb)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conf-ssl.h | 10 | ||||
| -rw-r--r-- | src/ngircd/conn-ssl.c | 7 |
2 files changed, 10 insertions, 7 deletions
diff --git a/src/ngircd/conf-ssl.h b/src/ngircd/conf-ssl.h index 3fab579c..428bcf45 100644 --- a/src/ngircd/conf-ssl.h +++ b/src/ngircd/conf-ssl.h @@ -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 */ diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c index 914d0165..fcf0dabb 100644 --- a/src/ngircd/conn-ssl.c +++ b/src/ngircd/conn-ssl.c @@ -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- */ |