diff gendss.c @ 1121:bb3a03feb31f

Merge pull request #13 from gazoo74/fix-warnings Fix warnings
author Matt Johnston <matt@ucc.asn.au>
date Thu, 04 Jun 2015 22:25:28 +0800
parents c45d65392c1a
children 750ec4ec4cbe
line wrap: on
line diff
--- a/gendss.c	Wed Jun 03 22:59:59 2015 +0800
+++ b/gendss.c	Thu Jun 04 22:25:28 2015 +0800
@@ -67,7 +67,7 @@
 
 static void getq(dropbear_dss_key *key) {
 
-	char buf[QSIZE];
+	unsigned char buf[QSIZE];
 
 	/* 160 bit prime */
 	genrandom(buf, QSIZE);