base64 decode in C

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

 



As someone already posted, you can't use strlen on an array that is not 
a string.

On 3/18/2015 11:08 AM, Prashant Bapat wrote:
> Hi Dave and Walter,
>
> Thanks for our reply.
>
> I'm not doing anything different for the ssh pubkey. I'm able to decode
> it using the "openssl enc -base64 -d -A" command. But not using the C
> program.
>
> Attaching my entire code here. After getting the base64 decoded I'm
> calculating the MD5 sum and printing it. This works for a regular string
> but not for SSH pubkey.
>
>
>




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux