diff options
author | Shelley Vohr <shelley.vohr@gmail.com> | 2019-08-26 12:18:50 -0700 |
---|---|---|
committer | Ujjwal Sharma <usharma1998@gmail.com> | 2019-08-29 10:12:58 +0530 |
commit | 17a697c794f2525c9789fd92c2206a1b634cf473 (patch) | |
tree | 24edd2d6dc2c1f7eaa8ba8fb8c117cfb8fa1f329 /src/node_errors.h | |
parent | 8675152f0f15002915225216f48e8bdd39612a81 (diff) | |
download | android-node-v8-17a697c794f2525c9789fd92c2206a1b634cf473.tar.gz android-node-v8-17a697c794f2525c9789fd92c2206a1b634cf473.tar.bz2 android-node-v8-17a697c794f2525c9789fd92c2206a1b634cf473.zip |
crypto: don't expose openssl internals
PR-URL: https://github.com/nodejs/node/pull/29325
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_errors.h')
-rw-r--r-- | src/node_errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_errors.h b/src/node_errors.h index 939f93a489..261c6077bb 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -42,6 +42,7 @@ void PrintErrorString(const char* format, ...); V(ERR_CONSTRUCT_CALL_REQUIRED, TypeError) \ V(ERR_CONSTRUCT_CALL_INVALID, TypeError) \ V(ERR_INVALID_ARG_VALUE, TypeError) \ + V(ERR_OSSL_EVP_INVALID_DIGEST, Error) \ V(ERR_INVALID_ARG_TYPE, TypeError) \ V(ERR_INVALID_MODULE_SPECIFIER, TypeError) \ V(ERR_INVALID_PACKAGE_CONFIG, SyntaxError) \ @@ -89,6 +90,7 @@ void PrintErrorString(const char* format, ...); V(ERR_CONSTRUCT_CALL_REQUIRED, "Cannot call constructor without `new`") \ V(ERR_INVALID_TRANSFER_OBJECT, "Found invalid object in transferList") \ V(ERR_MEMORY_ALLOCATION_FAILED, "Failed to allocate memory") \ + V(ERR_OSSL_EVP_INVALID_DIGEST, "Invalid digest used") \ V(ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST, \ "MessagePort was found in message but not listed in transferList") \ V(ERR_MISSING_PLATFORM_FOR_WORKER, \ |