Mercurial > dropbear
comparison rsa.c @ 1249:c6346c63281b
refactor indentation with hard tab
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Thu, 31 Dec 2015 15:59:01 +0100 |
parents | d7b752525b91 |
children | 2bb4c662d1c2 |
comparison
equal
deleted
inserted
replaced
1221:f7d565054e5f | 1249:c6346c63281b |
---|---|
67 dropbear_log(LOG_WARNING, "RSA key too short"); | 67 dropbear_log(LOG_WARNING, "RSA key too short"); |
68 goto out; | 68 goto out; |
69 } | 69 } |
70 | 70 |
71 TRACE(("leave buf_get_rsa_pub_key: success")) | 71 TRACE(("leave buf_get_rsa_pub_key: success")) |
72 ret = DROPBEAR_SUCCESS; | 72 ret = DROPBEAR_SUCCESS; |
73 out: | 73 out: |
74 if (ret == DROPBEAR_FAILURE) { | 74 if (ret == DROPBEAR_FAILURE) { |
75 m_free(key->e); | 75 m_free(key->e); |
76 m_free(key->n); | 76 m_free(key->n); |
77 } | 77 } |
78 return ret; | 78 return ret; |
79 } | 79 } |
80 | 80 |
81 /* Same as buf_get_rsa_pub_key, but reads private bits at the end. | 81 /* Same as buf_get_rsa_pub_key, but reads private bits at the end. |
82 * Loads a private rsa key from a buffer | 82 * Loads a private rsa key from a buffer |