1
0
forked from aniani/gmnisrv

Remove [:tls] email directive

This commit is contained in:
Drew DeVault 2020-09-26 16:41:11 -04:00
parent 50d21c03f5
commit fc036335eb
3 changed files with 0 additions and 4 deletions

View File

@ -7,7 +7,6 @@ store=/var/lib/gemini/certs
# Details for new certificates
organization=gmnisrv user
email=jsmith@example.org
[localhost]
root=/var/www

View File

@ -7,7 +7,6 @@
struct gmnisrv_tls {
char *store;
char *organization;
char *email;
SSL_CTX *ssl_ctx;
};

View File

@ -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;