----- 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