Subject: Re: [libssh2] #174: assertion in userauth.c when using public-key authentication on arm

Re: [libssh2] #174: assertion in userauth.c when using public-key authentication on arm

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Mon, 14 Jun 2010 13:06:56 -0000

#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
Received on 2010-06-14