Mercurial > dropbear
comparison dss.c @ 696:d6067dd60490
fix typo
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 24 Feb 2013 00:16:02 +0800 |
parents | 94aa1203be1e |
children | 9a5438271556 f336d232fc63 |
comparison
equal
deleted
inserted
replaced
695:94aa1203be1e | 696:d6067dd60490 |
---|---|
258 } | 258 } |
259 #endif /* DROPBEAR_SIGNKEY_VERIFY */ | 259 #endif /* DROPBEAR_SIGNKEY_VERIFY */ |
260 | 260 |
261 /* Sign the data presented with key, writing the signature contents | 261 /* Sign the data presented with key, writing the signature contents |
262 * to the buffer */ | 262 * to the buffer */ |
263 * | |
264 void buf_put_dss_sign(buffer* buf, dropbear_dss_key *key, const unsigned char* data, | 263 void buf_put_dss_sign(buffer* buf, dropbear_dss_key *key, const unsigned char* data, |
265 unsigned int len) { | 264 unsigned int len) { |
266 | 265 |
267 unsigned char msghash[SHA1_HASH_SIZE]; | 266 unsigned char msghash[SHA1_HASH_SIZE]; |
268 unsigned int writelen; | 267 unsigned int writelen; |