mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
Update client.cpp
This commit is contained in:
parent
1ab9ee8a5f
commit
ffb657b164
|
@ -223,6 +223,10 @@ void UClient_Base::loadConfigParam()
|
||||||
password = pcfg->at(U_CONSTANT_TO_PARAM("PASSWORD"));
|
password = pcfg->at(U_CONSTANT_TO_PARAM("PASSWORD"));
|
||||||
cert_file = pcfg->at(U_CONSTANT_TO_PARAM("CERT_FILE"));
|
cert_file = pcfg->at(U_CONSTANT_TO_PARAM("CERT_FILE"));
|
||||||
|
|
||||||
|
tls_pin = pcfg->at(U_CONSTANT_TO_PARAM("TLS_SPKI_PIN"));
|
||||||
|
|
||||||
|
if (tls_pin.size()) UBase64::decode(tls_pin.data(), tls_pin.size(), tls_pin);
|
||||||
|
|
||||||
// write pid on file...
|
// write pid on file...
|
||||||
|
|
||||||
UString x = pcfg->at(U_CONSTANT_TO_PARAM("PID_FILE"));
|
UString x = pcfg->at(U_CONSTANT_TO_PARAM("PID_FILE"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user