mirror of
https://github.com/brunoos/luasec.git
synced 2024-12-27 12:58:21 +01:00
Don't try to encode IP addresses as UTF-8
This commit is contained in:
parent
c276e9ff60
commit
b83d2c6a91
@ -262,7 +262,7 @@ int meth_extensions(lua_State* L)
|
||||
case GEN_IPADD:
|
||||
lua_pushstring(L, "iPAddress");
|
||||
push_subtable(L, -2);
|
||||
push_asn1_string(L, general_name->d.iPAddress, px->encode);
|
||||
push_asn1_string(L, general_name->d.iPAddress, LSEC_AI5_STRING);
|
||||
lua_rawseti(L, -2, lua_rawlen(L, -2)+1);
|
||||
lua_pop(L, 1);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user