summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.h b/functions.h
index 6ec2c28..ff9d656 100644
--- a/functions.h
+++ b/functions.h
@@ -167,8 +167,9 @@ void tryautonick(struct ircdstate *ircdstate);
void cleanexit(SSL *server_ssl, struct client *clients, int sourcefd, struct ircdstate *ircdstate, struct settings *settings, char *quitmsg);
// Re-read the configuration file, setting 'failuremsg' to a failure message on failure.
+// 'ctx' is the client OpenSSL context for changing the certificate/key.
// Returns 1 on success or 0 on failure.
-int rehash(struct settings *settings, char *failuremsg);
+int rehash(struct settings *settings, char *failuremsg, SSL_CTX *ctx);
// Check the password provided in the string 'str' against what is in
// the settings structure 'settings'.