diff options
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r-- | ssl/ssltest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index a304398..7bb4152 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -303,7 +303,7 @@ static void lock_dbg_cb(int mode, int type, const char *file, int line) goto err; } - if (type < 0 || type > CRYPTO_NUM_LOCKS) + if (type < 0 || type >= CRYPTO_NUM_LOCKS) { errstr = "type out of bounds"; goto err; |