[openssl-users] base64 decode in C

Jakob Bohm jb-openssl at wisemo.com
Wed Mar 18 16:33:41 UTC 2015


Please refer to Dave Thompson's answer, it describes your problem.

On 18/03/2015 16:08, 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.
>
> Thanks again.
>
> --Prashant
>
Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



More information about the openssl-users mailing list