aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-10-18 17:47:29 +0000
committerOmar Polo <op@omarpolo.com>2023-10-18 17:47:29 +0000
commitadaae5163ca666bda00116a9efebcf0b1e6a8194 (patch)
tree007171910bcfb2a55fd43adf34730a5e0f86c4ba /gmid.h
parent43b38b2dbbefbb68d9eff1d0fb76238308700f1b (diff)
rework gencert(); make gemexp generate EC certs
Taking inspiration from acme-client.
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmid.h b/gmid.h
index a5fb2e7..e4a1d03 100644
--- a/gmid.h
+++ b/gmid.h
@@ -457,7 +457,7 @@ int ends_with(const char*, const char*);
char *absolutify_path(const char*);
char *xstrdup(const char*);
void *xcalloc(size_t, size_t);
-void gen_certificate(const char*, const char*, const char*);
+void gencert(const char *, const char *, const char *, int);
X509_STORE *load_ca(uint8_t *, size_t);
int validate_against_ca(X509_STORE*, const uint8_t*, size_t);
void ssl_error(const char *);