summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/ssl/ssltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/ssl/ssltest.c')
-rw-r--r--src/lib/libssl/src/ssl/ssltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libssl/src/ssl/ssltest.c b/src/lib/libssl/src/ssl/ssltest.c
index 5fccc48b71..84c25d2c30 100644
--- a/src/lib/libssl/src/ssl/ssltest.c
+++ b/src/lib/libssl/src/ssl/ssltest.c
@@ -291,7 +291,7 @@ static void lock_dbg_cb(int mode, int type, const char *file, int line)
291 goto err; 291 goto err;
292 } 292 }
293 293
294 if (type < 0 || type > CRYPTO_NUM_LOCKS) 294 if (type < 0 || type >= CRYPTO_NUM_LOCKS)
295 { 295 {
296 errstr = "type out of bounds"; 296 errstr = "type out of bounds";
297 goto err; 297 goto err;