From a63f2cde948e4d8049c961e94029b1fd2752a71d Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Mon, 3 Jun 2024 16:35:53 +0200 Subject: [PATCH] CLEANUP: hlua: fix CertCache class comment CLASS_CERTCACHE is used to declare CertCache global object, not Regex one This copy-paste typo introduced was in 30fcca18 ("MINOR: ssl/lua: CertCache.set() allows to update an SSL certificate file") --- src/hlua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hlua.c b/src/hlua.c index 33eccfc64..b28a948c7 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -13689,7 +13689,7 @@ lua_State *hlua_init_state(int thread_num) lua_newtable(L); /* Register */ hlua_class_function(L, "set", hlua_ckch_set); - lua_setglobal(L, CLASS_CERTCACHE); /* Create global object called Regex */ + lua_setglobal(L, CLASS_CERTCACHE); /* Create global object called CertCache */ /* *