mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-12 21:00:28 +00:00
Remove undocumented ProgramSslCompression
, as it doesn't seem to work
This commit is contained in:
parent
b8e9c5fef1
commit
b3e68bc059
1 changed files with 0 additions and 13 deletions
|
@ -4791,17 +4791,6 @@ static int LuaEvadeDragnetSurveillance(lua_State *L) {
|
||||||
return LuaProgramBool(L, &evadedragnetsurveillance);
|
return LuaProgramBool(L, &evadedragnetsurveillance);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int LuaProgramSslCompression(lua_State *L) {
|
|
||||||
#ifndef UNSECURE
|
|
||||||
if (!unsecure) {
|
|
||||||
OnlyCallFromInitLua(L, "ProgramSslCompression");
|
|
||||||
conf.disable_compression = confcli.disable_compression =
|
|
||||||
!lua_toboolean(L, 1);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int LuaHidePath(lua_State *L) {
|
static int LuaHidePath(lua_State *L) {
|
||||||
size_t pathlen;
|
size_t pathlen;
|
||||||
const char *path;
|
const char *path;
|
||||||
|
@ -4994,7 +4983,6 @@ static const char *const kDontAutoComplete[] = {
|
||||||
"ProgramPrivateKey", // TODO
|
"ProgramPrivateKey", // TODO
|
||||||
"ProgramSslCiphersuite", // TODO
|
"ProgramSslCiphersuite", // TODO
|
||||||
"ProgramSslClientVerify", // TODO
|
"ProgramSslClientVerify", // TODO
|
||||||
"ProgramSslCompression", //
|
|
||||||
"ProgramSslTicketLifetime", //
|
"ProgramSslTicketLifetime", //
|
||||||
"ProgramTimeout", // TODO
|
"ProgramTimeout", // TODO
|
||||||
"ProgramUid", //
|
"ProgramUid", //
|
||||||
|
@ -5171,7 +5159,6 @@ static const luaL_Reg kLuaFuncs[] = {
|
||||||
{"ProgramPrivateKey", LuaProgramPrivateKey}, //
|
{"ProgramPrivateKey", LuaProgramPrivateKey}, //
|
||||||
{"ProgramSslCiphersuite", LuaProgramSslCiphersuite}, //
|
{"ProgramSslCiphersuite", LuaProgramSslCiphersuite}, //
|
||||||
{"ProgramSslClientVerify", LuaProgramSslClientVerify}, //
|
{"ProgramSslClientVerify", LuaProgramSslClientVerify}, //
|
||||||
{"ProgramSslCompression", LuaProgramSslCompression}, //
|
|
||||||
{"ProgramSslFetchVerify", LuaProgramSslFetchVerify}, //
|
{"ProgramSslFetchVerify", LuaProgramSslFetchVerify}, //
|
||||||
{"ProgramSslInit", LuaProgramSslInit}, //
|
{"ProgramSslInit", LuaProgramSslInit}, //
|
||||||
{"ProgramSslPresharedKey", LuaProgramSslPresharedKey}, //
|
{"ProgramSslPresharedKey", LuaProgramSslPresharedKey}, //
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue