Fix cryptlib.c.
[openssl.git] / crypto / cryptlib.c
index 2a008729fb0c6fb0482824609cb9ee0be1e5342c..d6015096387dc7b6e1d1a67446e4e2e1b35e0158 100644 (file)
@@ -84,12 +84,16 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
        "ssl_ctx",
        "ssl_cert",
        "ssl_session",
+       "ssl_sess_cert",
        "ssl",
        "rand",
        "debug_malloc",
        "BIO",
        "bio_gethostbyname",
        "RSA_blinding",
+#if CRYPTO_NUM_LOCKS != 22
+# error "Inconsistency between crypto.h and cryptlic.c"
+#endif
        };
 
 static STACK *app_locks=NULL;