shithub: riscv

Download patch

ref: 029c271825d626f4eb9e8310f5e72a026d3c16d7
parent: 9733434e6eecca748a15a46e8a52635c5183a8dc
author: cinap_lenrek <[email protected]>
date: Mon Sep 14 05:46:40 EDT 2015

libsec: save some space making weakCipher bitamp of type char[] instead of int[]

--- a/sys/src/libsec/port/tlshand.c
+++ b/sys/src/libsec/port/tlshand.c
@@ -2028,7 +2028,7 @@
 
 //================= cipher choices ========================
 
-static int weakCipher[] =
+static char weakCipher[] =
 {
 [TLS_NULL_WITH_NULL_NULL]		1,
 [TLS_RSA_WITH_NULL_MD5]			1,