Unexport sslGenerateCertificate() which is only needed by ssl.c internally.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@47 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
parent
e40a555cbf
commit
949d763498
2 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,8 @@ int serverSupportsSSL(void) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void sslGenerateCertificate(const char *certificate, const char *serverName) {
|
static void sslGenerateCertificate(const char *certificate,
|
||||||
|
const char *serverName) {
|
||||||
#if defined(HAVE_OPENSSL)
|
#if defined(HAVE_OPENSSL)
|
||||||
debug("Auto-generating missing certificate \"%s\" for \"%s\"",
|
debug("Auto-generating missing certificate \"%s\" for \"%s\"",
|
||||||
certificate, serverName);
|
certificate, serverName);
|
||||||
|
|
|
@ -178,7 +178,6 @@ struct SSLSupport *newSSL();
|
||||||
void initSSL(struct SSLSupport *ssl);
|
void initSSL(struct SSLSupport *ssl);
|
||||||
void destroySSL(struct SSLSupport *ssl);
|
void destroySSL(struct SSLSupport *ssl);
|
||||||
void deleteSSL(struct SSLSupport *ssl);
|
void deleteSSL(struct SSLSupport *ssl);
|
||||||
void sslGenerateCertificate(const char *certificate, const char *serverName);
|
|
||||||
void sslSetCertificate(struct SSLSupport *ssl, const char *filename,
|
void sslSetCertificate(struct SSLSupport *ssl, const char *filename,
|
||||||
int autoGenerateMissing);
|
int autoGenerateMissing);
|
||||||
void sslSetCertificateFd(struct SSLSupport *ssl, int fd);
|
void sslSetCertificateFd(struct SSLSupport *ssl, int fd);
|
||||||
|
|
Loading…
Reference in a new issue