projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add error code for unsupported explicit parameters
[openssl.git]
/
crypto
/
ec
/
ec_lib.c
diff --git
a/crypto/ec/ec_lib.c
b/crypto/ec/ec_lib.c
index 5366e2144bb37014657283878e67b8cdee7a4cdd..745e014d8f679a5cf32363748bf107f6e236762c 100644
(file)
--- a/
crypto/ec/ec_lib.c
+++ b/
crypto/ec/ec_lib.c
@@
-1567,6
+1567,7
@@
EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[],
return group;
}
#ifdef FIPS_MODULE
+ ERR_raise(ERR_LIB_EC, EC_R_EXPLICIT_PARAMS_NOT_SUPPORTED);
return NULL;
#else
/* If it gets here then we are trying explicit parameters */