aboutsummaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-18 10:05:55 +0000
committerOmar Polo <op@omarpolo.com>2021-10-18 10:05:55 +0000
commit4842c72d9f3f45478cb641e15a3272e541fb8a18 (patch)
tree1a1b840362a8e78f6a71c67bce0d7157e0848cb5 /utils.c
parentf8bcc13822154d8558246c9f994cf43c413a5714 (diff)
fmt
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 9a67ff6..1a9a0e0 100644
--- a/utils.c
+++ b/utils.c
@@ -122,7 +122,7 @@ gen_certificate(const char *hostname, const char *certpath, const char *keypath)
host);
if ((pkey = EVP_PKEY_new()) == NULL)
- fatal("couldn't create a new private key");
+ fatal("couldn't create a new private key");
if ((rsa = RSA_new()) == NULL)
fatal("couldn't generate rsa");
@@ -154,7 +154,7 @@ gen_certificate(const char *hostname, const char *certpath, const char *keypath)
X509_set_issuer_name(x509, name);
if (!X509_sign(x509, pkey, EVP_sha256()))
- fatal("couldn't sign the certificate");
+ fatal("couldn't sign the certificate");
if ((f = fopen(keypath, "w")) == NULL)
fatal("fopen(%s): %s", keypath, strerror(errno));