From 52e0a1a5b1155eaa45938ff03c5ff5ff287f319e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 21 Apr 2018 10:56:47 +0200 Subject: [PATCH] crypto: fix explanation in CipherBase::SetAuthTag --- src/node_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index b37b7e62c2730b..2bdda4566dd99f 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -2910,7 +2910,7 @@ void CipherBase::SetAuthTag(const FunctionCallbackInfo& args) { } } - // Note: we don't use std::max() here to work around a header conflict. + // Note: we don't use std::min() here to work around a header conflict. cipher->auth_tag_len_ = tag_len; if (cipher->auth_tag_len_ > sizeof(cipher->auth_tag_)) cipher->auth_tag_len_ = sizeof(cipher->auth_tag_);