Hello list,

I use base64 encoding to send license information to users. So, when
he enters it to the application, I need to decode and analyze it.
Since there is no standard solution for this in Cocoa, I found few
implementations in the Internet and used one. This one:
http://www.cocoadev.com/index.pl?BaseSixtyFour
(see -decodeBase64WithNewlines method).

It worked fine till yesterday, when I received an error report from
one user, who works on Tiger (10.4.11). On his Mac this method
returned empty NSData. I tried his key on my Mac - it worked without a
problem (I have OS X 10.5). Key was created using openssl, so I don't
think that it is bad.

I switched to another algorithm, the same link, but
-dataWithBase64EncodedString method. It works fine on my Mac too,
right now I'm waiting for the user's reply.

Did anybody have the same problem? Any ideas? I don't believe that
Tiger has lack of base64 support in openssl.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to