mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 09:42:38 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -19,9 +19,8 @@ namespace OpenWifi {
|
||||
std::istringstream os(Chain);
|
||||
std::string CurrentCert;
|
||||
bool InCert = false;
|
||||
while(os.good()) {
|
||||
std::string Line;
|
||||
os >> Line;
|
||||
std::string Line;
|
||||
while(std::getline(os,Line)) {
|
||||
std::cout << Line << std::endl;
|
||||
if(Line=="-----BEGIN CERTIFICATE-----") {
|
||||
InCert = true;
|
||||
|
||||
Reference in New Issue
Block a user