#164: Knownhost API handles comments badly
-----------------------+----------------------------------------------------
Reporter: alamaison | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: API | Version: 1.2.4
Keywords: knownhost | Blocking:
Blockedby: |
-----------------------+----------------------------------------------------
Comment(by bagder):
Right, we would use a new version of libssh2_knownhost_add() that supports
the comment part. Since we internally would store the key and comment
separately, we would probably just make libssh2_knownhost_get not return
any comment at all since the public struct has no such field.
Not ideal, but it would make the file parsing know comments and it could
make the key comparison stuff to work. And it would be the same ABI.
-- Ticket URL: <http://libssh2.stuge.se/ticket/164#comment:3> libssh2 <http://libssh2.stuge.se/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-03-08