Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Replace first occurance of keyBuffer with a 0 to replicate iOS6 #37

Merged
merged 1 commit into from
Sep 12, 2013

Conversation

thijsdamen
Copy link
Contributor

iOS6's getCString:keyBuffer:encoding truncates the string to match maxLength, it also replaces the first character with a 0 instead of keeping it intact. Replicate this behaviour so older keys used remain usable.

ijansch added a commit that referenced this pull request Sep 12, 2013
Replace first occurance of keyBuffer with a 0 to replicate iOS6
@ijansch ijansch merged commit 03cb751 into Tiqr:master Sep 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants