kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 523bc521c734cb3b3b3b3977d5c27adaaadd3a66
parent 79b3ccfe7d76548d701405be5256839a3ce9324f
Author: Joris Vink <joris@coders.se>
Date:   Sat, 18 Oct 2014 01:28:47 +0200

Generate certs with sha256 digests from now on.

Diffstat:
src/cli.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cli.c b/src/cli.c @@ -797,7 +797,7 @@ cli_generate_certs(void) if (!X509_set_issuer_name(x509, name)) cli_fatal("X509_set_issuer_name(): %s", ssl_errno_s); - if (!X509_sign(x509, pkey, EVP_sha1())) + if (!X509_sign(x509, pkey, EVP_sha256())) cli_fatal("X509_sign(): %s", ssl_errno_s); (void)cli_vasprintf(&fpath, "%s/cert/server.key", rootdir);