rnapier/RNCryptor — pull request #46 by csteynberg (2013-01-18 01:58:01+00:00)
Title: Asynchronous decryption fix

RNCryptor uses dispatch_get_current_queue() in initWithHandler: as the responseQueue. However, due to the recent deprecation of dispatch_get_current_queue() in iOS6 this leads to a situation where the handler is never called. This commit changes the initWithHandler to create a new queue that is then used as the response queue which allows asynchronous decryption to work correctly.

In addition to the change it includes a unit test to verify that it works correctly.

This commit fixes #43

Signed-off-by: Calman Steynberg