commit 07d86a0beb5411553390fb8bfc1439db9ec66ca0 from: Omar Polo date: Wed Oct 18 18:07:28 2023 UTC tweak certificate generation log messages commit - bab32701fbefecd4e2181dc03821067f4d7dbe28 commit + 07d86a0beb5411553390fb8bfc1439db9ec66ca0 blob - ce8be6ebfc9e9fd8e60a3132f40ad5fa07cb1393 blob + 7ceea2ebd44119b4fb1b4f6a407b26b43828c2a2 --- utils.c +++ utils.c @@ -218,8 +218,8 @@ gencert(const char *hostname, const char *certpath, co FILE *f; const unsigned char *host = (const unsigned char*)hostname; - log_info("generating new certificate for %s (it could take a while)", - host); + log_info("Generating new %s key for %s (it could take a while)", + eckey ? "EC" : "RSA", host); if ((f = fopen(keypath, "w")) == NULL) { log_warn("can't open %s", keypath); @@ -292,8 +292,7 @@ gencert(const char *hostname, const char *certpath, co X509_free(x509); EVP_PKEY_free(pkey); - log_info("%s certificate successfully generated", - eckey ? "EC" : "RSA"); + log_info("Certificate for %s successfully generated", host); return; err: