diff gendss.c @ 1094:c45d65392c1a

Fix pointer differ in signess warnings [-Werror=pointer-sign]
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 15:59:06 +0200
parents 220f55d540ae
children 750ec4ec4cbe
line wrap: on
line diff
--- a/gendss.c	Sat May 02 16:02:22 2015 +0200
+++ b/gendss.c	Sat May 02 15:59:06 2015 +0200
@@ -67,7 +67,7 @@
 
 static void getq(dropbear_dss_key *key) {
 
-	char buf[QSIZE];
+	unsigned char buf[QSIZE];
 
 	/* 160 bit prime */
 	genrandom(buf, QSIZE);