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 (<ansas...@redhat.com>)
escribió:

>
>
> ----- Original Message -----
> > From: "Bruno Buzzi Brassesco" <bruno.brase...@gmail.com>
> > To: libssh@libssh.org
> > 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
>
>
>

Reply via email to