forked from aniani/gmnisrv
Remove [:tls] email directive
This commit is contained in:
parent
50d21c03f5
commit
fc036335eb
@ -7,7 +7,6 @@ store=/var/lib/gemini/certs
|
||||
|
||||
# Details for new certificates
|
||||
organization=gmnisrv user
|
||||
email=jsmith@example.org
|
||||
|
||||
[localhost]
|
||||
root=/var/www
|
||||
|
@ -7,7 +7,6 @@
|
||||
struct gmnisrv_tls {
|
||||
char *store;
|
||||
char *organization;
|
||||
char *email;
|
||||
SSL_CTX *ssl_ctx;
|
||||
};
|
||||
|
||||
|
@ -98,7 +98,6 @@ conf_ini_handler(void *user, const char *section,
|
||||
} strvars[] = {
|
||||
{ ":tls", "store", &conf->tls.store },
|
||||
{ ":tls", "organization", &conf->tls.organization },
|
||||
{ ":tls", "email", &conf->tls.email },
|
||||
};
|
||||
struct {
|
||||
char *section;
|
||||
@ -223,7 +222,6 @@ config_finish(struct gmnisrv_config *conf)
|
||||
{
|
||||
free(conf->tls.store);
|
||||
free(conf->tls.organization);
|
||||
free(conf->tls.email);
|
||||
struct gmnisrv_bind *bind = conf->binds;
|
||||
while (bind) {
|
||||
struct gmnisrv_bind *next = bind->next;
|
||||
|
Loading…
Reference in New Issue
Block a user