From 9a34d1098e082b4fe976f0a6671581a0d967fdc5 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 24 Aug 2020 21:59:32 -0400 Subject: Use configOpen to load localCA --- bounce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bounce.c b/bounce.c index 9a72db5..f1f5216 100644 --- a/bounce.c +++ b/bounce.c @@ -432,8 +432,8 @@ int main(int argc, char *argv[]) { FILE *localCA = NULL; if (caPath) { - localCA = fopen(caPath, "r"); - if (!localCA) err(EX_NOINPUT, "%s", caPath); + localCA = configOpen(caPath, "r"); + if (!localCA) return EX_NOINPUT; } struct SplitPath certSplit = splitPath(certPath); -- cgit 1.4.1 b4cfc47f6db9'>this commit collaborative ASCII art
about summary refs log tree commit diff homepage
path: root/meta.c (unfollow)
Commit message (Expand)Author
2021-09-26OpenBSD: Copy appropriate files for chrootJune McEnroe
2021-09-26OpenBSD: pledge(2) imageJune McEnroe
2021-09-26OpenBSD: pledge(2) clientJune McEnroe
2021-09-26OpenBSD: pledge(2) serverJune McEnroe
2021-09-24Link with -lncurseswJune McEnroe
2021-09-20Replace strlcpy with snprintfJune McEnroe
2021-09-20Replace kqueue with poll, remove libutil dependencyJune McEnroe
2021-02-04Update play@ascii.town descriptionJune McEnroe
2021-02-04Replace donation button with LiberapayJune McEnroe
2020-06-25Use DisableForwarding in sshd_configJune McEnroe
2019-12-19Remove READMEJune McEnroe
2019-12-15Update git URLsJune McEnroe
2019-08-05Add buymeacoffee linkJune McEnroe
2019-07-27Use braces in MakefileJune McEnroe
2019-07-08Remove NetHack from indexJune McEnroe
2019-04-08Don't install rc.kfcgi eitherJune McEnroe
2019-03-28Remove rc.kfcgiJune McEnroe
2019-01-16Reformat index.html with explore linkJune McEnroe
2019-01-16Return false from keydown handler in exploreJune McEnroe
2019-01-08Draw lines to tile edgeJune McEnroe
2019-01-08Factor out default pathsJune McEnroe
2019-01-08Remove incorrect default coordinatesJune McEnroe
2019-01-07Set img src when explore fragment changesJune McEnroe
2019-01-07Compress PNG data in imageJune McEnroe
2019-01-07madvise MADV_NOCORE in imageJune McEnroe
2019-01-07Add license notice to explore JavaScriptJune McEnroe
2019-01-07Add Q/Home binding in exploreJune McEnroe
2019-01-07Fix explore image URLJune McEnroe
2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe
2019-01-06Add meta viewport to exploreJune McEnroe
2019-01-06Set background and max-width in exploreJune McEnroe
2019-01-06Swallow writes after the connection is closedJune McEnroe
2019-01-06Handle KCGI_HUPJune McEnroe
2019-01-06Install html filesJune McEnroe