Index: Source/modules/crypto/NormalizeAlgorithm.h |
diff --git a/Source/modules/crypto/NormalizeAlgorithm.h b/Source/modules/crypto/NormalizeAlgorithm.h |
index ffad50aa4fb1acb5c6d025d39e0c9140925dde5d..9565eb72b349f9c4c357a45abf603102b233fd5d 100644 |
--- a/Source/modules/crypto/NormalizeAlgorithm.h |
+++ b/Source/modules/crypto/NormalizeAlgorithm.h |
@@ -52,8 +52,8 @@ enum AlgorithmOperation { |
DeriveKey, |
WrapKey, |
UnwrapKey, |
- // <---- End of list |
- NumberOfAlgorithmOperations, |
+ // <---- End of list (keep this up-to-date) |
+ LastAlgorithmOperation = UnwrapKey, |
}; |
// Normalizes an algorithm identifier (dictionary) into a WebCryptoAlgorithm. If |