Skip to content

Commit

Permalink
fixup! deprecate useless crypto APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Aug 9, 2018
1 parent a05c140 commit 24bace5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/crypto/cipher.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function setAuthTag(tagbuf) {
if (!this._handle.setAuthTag(tagbuf))
throw new ERR_CRYPTO_INVALID_STATE('setAuthTag');
return this;
};
}

Object.defineProperty(Cipher.prototype, 'setAuthTag', {
get: deprecate(() => setAuthTag,
Expand Down

0 comments on commit 24bace5

Please sign in to comment.