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
|
@ -222,6 +222,10 @@ void UClient_Base::loadConfigParam()
|
|||
key_file = pcfg->at(U_CONSTANT_TO_PARAM("KEY_FILE"));
|
||||
password = pcfg->at(U_CONSTANT_TO_PARAM("PASSWORD"));
|
||||
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...
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user