We are facing a UT failure only on iOS10, which expects SecKeyRawVerify to fail verification when signature is empty (length = 0).
Under iOS8 or iOS9, the function returns -9809, but iOS10 returns errSecSuccess. This makes the test to fail. We use kSecPaddingPKCS1SHA256 padding type.
Do we need to always check emptiness of a signature before using the function? What is the status of this change?
Thank you,
sukeza