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

Re: Public key types



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


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