Subject: Re: [libssh2] #164: Knownhost API handles comments badly

Re: [libssh2] #164: Knownhost API handles comments badly

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Sun, 07 Mar 2010 21:47:07 -0000

#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):

 Surely libssh2_knownhost_readline() can be fixed to also parse and store
 the comment internally, separately from the key and that won't break any
 ABI.

 knownhost_writeline() could then be similarly adjusted to write the
 comment when such keys are written again.

 Or did I miss something?

-- 
Ticket URL: <http://libssh2.stuge.se/ticket/164#comment:1>
libssh2 <http://libssh2.stuge.se/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-07