[openssl-users] base64 decode in C
Ken Goldman
kgoldman at us.ibm.com
Wed Mar 18 16:25:56 UTC 2015
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.
>
>
>
More information about the openssl-users
mailing list