#174: assertion in userauth.c when using public-key authentication on arm
---------------------+------------------------------------------------------
  Reporter:  hgb     |       Owner:       
      Type:  defect  |      Status:  new  
  Priority:  normal  |   Milestone:  1.2.6
 Component:  API     |     Version:  1.2.6
Resolution:          |    Keywords:       
    Blocks:          |   Blocked By:       
---------------------+------------------------------------------------------

Comment (by alamaison):

 This assertion fires because you are passing the public and private keys
 to `libssh2_userauth_publickey_fromfile_ex` in the wrong order.  Public
 should come first.

 c87a48ae4c21e999444cdcfa09c80ed643235f67 changes the assertion to a
 runtime error.

-- 
Ticket URL: <http://libssh2.stuge.se/ticket/174#comment:2>
libssh2 <http://libssh2.stuge.se/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to