The unified diff between revisions [7a3b7b90..] and [b0cf63e6..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'signkey.c'
#
#
# patch "signkey.c"
# from [c0ce28d518a22769fdee4e64e6fcd77a9100e61f]
# to [3c9e56c12498a662c7918b167e08bc1bfafa59c1]
#
============================================================
--- signkey.c c0ce28d518a22769fdee4e64e6fcd77a9100e61f
+++ signkey.c 3c9e56c12498a662c7918b167e08bc1bfafa59c1
@@ -259,6 +259,9 @@ void sign_key_free(sign_key *key) {
TRACE(("leave sign_key_free"))
}
+/* don't need fingerprints */
+#if 0
+
static char hexdig(unsigned char x) {
if (x > 0xf)
@@ -353,6 +356,7 @@ char * sign_key_fingerprint(unsigned cha
return sign_key_sha1_fingerprint(keyblob, keybloblen);
#endif
}
+#endif
void buf_put_sign(buffer* buf, sign_key *key, int type,
const unsigned char *data, unsigned int len) {
@@ -384,6 +388,7 @@ void buf_put_sign(buffer* buf, sign_key
}
#ifdef DROPBEAR_SIGNKEY_VERIFY
+#error Get rid of this line if you intended to have pubkey auth
/* Return DROPBEAR_SUCCESS or DROPBEAR_FAILURE.
* If FAILURE is returned, the position of
* buf is undefined. If SUCCESS is returned, buf will be positioned after the
@@ -428,6 +433,7 @@ int buf_verify(buffer * buf, sign_key *k
#endif /* DROPBEAR_SIGNKEY_VERIFY */
#ifdef DROPBEAR_KEY_LINES /* ie we're using authorized_keys or known_hosts */
+#error Get rid of this line if you intended to have pubkey auth
/* Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE when given a buffer containing
* a key, a key, and a type. The buffer is positioned at the start of the