I just finished tracking down and fixing a nasty bug in our app that was present on iOS 5 but not 6; it turns out that when CCCryptorFinal() is passed a null CCCryptorRef on iOS 6 it returns kCCSuccess, but on iOS 5 it returns kCCParamError. One of our calls wasn’t checking that the cryptorRef wasn’t null, which was functioning just fine on iOS 6 but causing serious problems on iOS 5. Whoops…
(Hopefully this post will helpfully turn up in someone’s Google search)







