diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-18 10:05:55 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-18 10:05:55 +0000 |
commit | 4842c72d9f3f45478cb641e15a3272e541fb8a18 (patch) | |
tree | 1a1b840362a8e78f6a71c67bce0d7157e0848cb5 /utils.c | |
parent | f8bcc13822154d8558246c9f994cf43c413a5714 (diff) |
fmt
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |