From 50ef0093530d9eae8741fb66ae7161ad1d68dcca Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Wed, 1 Oct 2003 12:32:41 +0000 Subject: Vendor import of OpenSSL 0.9.7c --- crypto/openssl/apps/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/openssl/apps/openssl.c') diff --git a/crypto/openssl/apps/openssl.c b/crypto/openssl/apps/openssl.c index 45af2ba7f9a82..e0d89d4ab413f 100644 --- a/crypto/openssl/apps/openssl.c +++ b/crypto/openssl/apps/openssl.c @@ -163,7 +163,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; -- cgit v1.2.3