diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-10 23:37:52 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-10 23:37:52 +0000 |
commit | 6f8f4431705bb3f8f58f86f9b9f54daa0d42667d (patch) | |
tree | 83522e668d3b58b94e66948690d05cde1a1eff50 /crypto/ec/ec_mult.c | |
parent | d18af3f37ede5a6ff041390a04b3671820882dcc (diff) |
comment and error code update
Diffstat (limited to 'crypto/ec/ec_mult.c')
-rw-r--r-- | crypto/ec/ec_mult.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c index 0515e728ec..ddd3db5921 100644 --- a/crypto/ec/ec_mult.c +++ b/crypto/ec/ec_mult.c @@ -72,7 +72,7 @@ (b) > 23 ? 3 : 1) /* Compute - * \sum scalar[i]*points[i] + * \sum scalars[i]*points[i] * where * scalar*generator * is included in the addition if scalar != NULL @@ -103,7 +103,7 @@ int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, BIGNUM *scalar, generator = EC_GROUP_get0_generator(group); if (generator == NULL) { - ECerr(EC_F_EC_POINTS_MUL, EC_R_NO_GENERATOR_SET); + ECerr(EC_F_EC_POINTS_MUL, EC_R_UNDEFINED_GENERATOR); return 0; } } |