diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2019-09-21 16:23:11 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2019-09-21 16:23:11 +0300 |
commit | 01cd4a8ee6f92239c4cc36364e24d14e12933ab5 (patch) | |
tree | 97b20cc71f36f22c084a389e31a906178249f95e | |
parent | 17f533dde5dc27b45832116474ed5ed27fd609a7 (diff) | |
download | gost-engine-01cd4a8ee6f92239c4cc36364e24d14e12933ab5.zip gost-engine-01cd4a8ee6f92239c4cc36364e24d14e12933ab5.tar.gz gost-engine-01cd4a8ee6f92239c4cc36364e24d14e12933ab5.tar.bz2 |
Coveruty CID253284
-rw-r--r-- | gost_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ int gost_control_func(ENGINE *e, int cmd, long i, void *p, void (*f) (void)) const char *get_gost_engine_param(int param) { char *tmp; - if (param < 0 || param > GOST_PARAM_MAX) + if (param < 0 || param >= GOST_PARAM_MAX) return NULL; if (gost_params[param] != NULL) { return gost_params[param]; |