From 2a65d90b0bb01cad7f827858741901b1e1ee65fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 16 Aug 2016 07:28:23 +0200 Subject: Use const char * for sexp expression types. --- sexp2dsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sexp2dsa.c') diff --git a/sexp2dsa.c b/sexp2dsa.c index 74b34705..94885993 100644 --- a/sexp2dsa.c +++ b/sexp2dsa.c @@ -61,7 +61,7 @@ dsa_keypair_from_sexp_alist(struct dsa_params *params, unsigned q_bits, struct sexp_iterator *i) { - static const uint8_t * const names[5] + static const char * const names[5] = { "p", "q", "g", "y", "x" }; struct sexp_iterator values[5]; unsigned nvalues = priv ? 5 : 4; @@ -131,7 +131,7 @@ dsa_signature_from_sexp(struct dsa_signature *rs, struct sexp_iterator *i, unsigned q_bits) { - static const uint8_t * const names[2] = { "r", "s" }; + static const char * const names[2] = { "r", "s" }; struct sexp_iterator values[2]; if (!sexp_iterator_assoc(i, 2, names, values)) -- cgit v1.2.1