Mercurial > dropbear
comparison dss.c @ 415:8b9aba1d5fa4 channel-fix
merge of '73fe066c5d9e2395354ba74756124d45c978a04d'
and 'f5014cc84558f1e8eba42dbecf9f72f94bfe6134'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 06 Feb 2007 16:00:18 +0000 |
parents | a124aff0cbf1 |
children | b50f0107e505 76097ec1a29a |
comparison
equal
deleted
inserted
replaced
414:c53a26c430e5 | 415:8b9aba1d5fa4 |
---|---|
88 } | 88 } |
89 | 89 |
90 key->x = m_malloc(sizeof(mp_int)); | 90 key->x = m_malloc(sizeof(mp_int)); |
91 m_mp_init(key->x); | 91 m_mp_init(key->x); |
92 ret = buf_getmpint(buf, key->x); | 92 ret = buf_getmpint(buf, key->x); |
93 if (ret == DROPBEAR_FAILURE) { | |
94 m_free(key->x); | |
95 } | |
93 | 96 |
94 return ret; | 97 return ret; |
95 } | 98 } |
96 | 99 |
97 | 100 |