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
|
# Details for new certificates
|
||||||
organization=gmnisrv user
|
organization=gmnisrv user
|
||||||
email=jsmith@example.org
|
|
||||||
|
|
||||||
[localhost]
|
[localhost]
|
||||||
root=/var/www
|
root=/var/www
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
struct gmnisrv_tls {
|
struct gmnisrv_tls {
|
||||||
char *store;
|
char *store;
|
||||||
char *organization;
|
char *organization;
|
||||||
char *email;
|
|
||||||
SSL_CTX *ssl_ctx;
|
SSL_CTX *ssl_ctx;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -98,7 +98,6 @@ conf_ini_handler(void *user, const char *section,
|
|||||||
} strvars[] = {
|
} strvars[] = {
|
||||||
{ ":tls", "store", &conf->tls.store },
|
{ ":tls", "store", &conf->tls.store },
|
||||||
{ ":tls", "organization", &conf->tls.organization },
|
{ ":tls", "organization", &conf->tls.organization },
|
||||||
{ ":tls", "email", &conf->tls.email },
|
|
||||||
};
|
};
|
||||||
struct {
|
struct {
|
||||||
char *section;
|
char *section;
|
||||||
@ -223,7 +222,6 @@ config_finish(struct gmnisrv_config *conf)
|
|||||||
{
|
{
|
||||||
free(conf->tls.store);
|
free(conf->tls.store);
|
||||||
free(conf->tls.organization);
|
free(conf->tls.organization);
|
||||||
free(conf->tls.email);
|
|
||||||
struct gmnisrv_bind *bind = conf->binds;
|
struct gmnisrv_bind *bind = conf->binds;
|
||||||
while (bind) {
|
while (bind) {
|
||||||
struct gmnisrv_bind *next = bind->next;
|
struct gmnisrv_bind *next = bind->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user