[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Public key types


 Anderson,

>> I would guess you are providing the pointers instead of the values

This sentence saved my day !!!

Thank you very much for your help.

Now everything is working as expected !

regards,
bruno

El lun., 27 jul. 2020 a las 12:21, Anderson Sasaki (<ansasaki@xxxxxxxxxx>)
escribió:

>
>
> ----- Original Message -----
> > From: "Bruno Buzzi Brassesco" <bruno.brasesco@xxxxxxxxx>
> > To: libssh@xxxxxxxxxx
> > Sent: Thursday, July 23, 2020 3:44:16 PM
> > Subject: Re: Public key types
> >
> > Hi,
>
> Hello,
>
> > Thank you for the fast answer.
> >
> > Unfortunately ssh_key_type_to_char() answer NULL so the type is unknown.
>
> It seems you are providing the wrong input to the function. I would guess
> you are providing the pointers instead of the values to
> ssh_key_type_to_char().
>
> Like Till suggested before, I would recommend you to check what you are
> providing to printf in the part you got random numbers (which could be
> memory addresses).
>
> Regards,
> Anderson
>
>
>

References:
Public key typesBruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
Re: Public key typesg4-lisz@xxxxxxxxxxxx
Re: Public key typesBruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
Re: Public key typesAnderson Sasaki <ansasaki@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org