Author: nbd Date: 2015-11-06 11:52:52 +0100 (Fri, 06 Nov 2015) New Revision: 47391
Modified: trunk/package/utils/px5g/px5g.c Log: px5g: Use SHA-256 when generating self-signed certificates Signed-off-by: Martin Blumenstingl <[email protected]> Modified: trunk/package/utils/px5g/px5g.c =================================================================== --- trunk/package/utils/px5g/px5g.c 2015-11-05 10:05:15 UTC (rev 47390) +++ trunk/package/utils/px5g/px5g.c 2015-11-06 10:52:52 UTC (rev 47391) @@ -212,7 +212,7 @@ " and validity %s-%s\n", subject, fstr, tstr); x509write_crt_init(&cert); - x509write_crt_set_md_alg(&cert, POLARSSL_MD_SHA1); + x509write_crt_set_md_alg(&cert, POLARSSL_MD_SHA256); x509write_crt_set_issuer_key(&cert, &key); x509write_crt_set_subject_key(&cert, &key); x509write_crt_set_subject_name(&cert, subject); _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
