summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r--src/node_crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h
index 836144bf8b..7d8c9032c6 100644
--- a/src/node_crypto.h
+++ b/src/node_crypto.h
@@ -712,7 +712,7 @@ class DiffieHellman : public BaseObject {
const BIGNUM* (*get_field)(const DH*),
const char* err_if_null);
static void SetKey(const v8::FunctionCallbackInfo<v8::Value>& args,
- void (*set_field)(DH*, BIGNUM*), const char* what);
+ int (*set_field)(DH*, BIGNUM*), const char* what);
bool VerifyContext();
bool initialised_;