Mercurial > dropbear
diff signkey.c @ 855:04ede40a529a
- Some fixes for old compilers like tru64 v4 from Daniel Richard G.
- Don't warn about blocking random device for prngd
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 14 Nov 2013 21:36:45 +0800 |
parents | 7540c0822374 |
children | c19acba28590 |
line wrap: on
line diff
--- a/signkey.c Thu Nov 14 20:45:46 2013 +0800 +++ b/signkey.c Thu Nov 14 21:36:45 2013 +0800 @@ -511,12 +511,13 @@ unsigned int bloblen; unsigned char * type_name = NULL; unsigned int type_name_len = 0; + enum signkey_type type; TRACE(("enter buf_verify")) bloblen = buf_getint(buf); type_name = buf_getstring(buf, &type_name_len); - enum signkey_type type = signkey_type_from_name(type_name, type_name_len); + type = signkey_type_from_name(type_name, type_name_len); m_free(type_name); #ifdef DROPBEAR_DSS