am c6c5932c: am 0417060e: Use correct error code for rate limiting.

* commit 'c6c5932cf87a6c8976283c249f949b5ed2c1f1a0':
  Use correct error code for rate limiting.
diff --git a/cryptfs.c b/cryptfs.c
index 23bf2e1..bde0f26 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -350,7 +350,7 @@
         keymaster_error_t error = keymaster1_dev->begin(keymaster1_dev, KM_PURPOSE_SIGN, &key,
                                                         &param_set, NULL /* out_params */,
                                                         &op_handle);
-        if (error == KM_ERROR_VERIFICATION_FAILED) {
+        if (error == KM_ERROR_KEY_RATE_LIMIT_EXCEEDED) {
             // Key usage has been rate-limited.  Wait a bit and try again.
             sleep(KEYMASTER_CRYPTFS_RATE_LIMIT);
             error = keymaster1_dev->begin(keymaster1_dev, KM_PURPOSE_SIGN, &key,