Index: content/child/webcrypto/openssl/util_openssl.h |
diff --git a/content/child/webcrypto/openssl/util_openssl.h b/content/child/webcrypto/openssl/util_openssl.h |
index f8e558275ccf7886e4c8aac83c813440a492f185..49277fdedd49c6ef173ba8f76aa0a4879563410b 100644 |
--- a/content/child/webcrypto/openssl/util_openssl.h |
+++ b/content/child/webcrypto/openssl/util_openssl.h |
@@ -19,7 +19,9 @@ namespace webcrypto { |
class CryptoData; |
class Status; |
-enum EncryptOrDecrypt { ENCRYPT, DECRYPT }; |
+// The values of these constants correspond with the "enc" parameter of |
+// EVP_CipherInit_ex(), do not change. |
+enum EncryptOrDecrypt { DECRYPT=0, ENCRYPT=1 }; |
const EVP_MD* GetDigest(blink::WebCryptoAlgorithmId id); |