We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e232b19 commit 57f6fa9Copy full SHA for 57f6fa9
1 file changed
src/crypto/TSL.cpp
@@ -397,15 +397,20 @@ vector<TSL::Pointer> TSL::pointers() const
397
{
398
Pointer p;
399
string_view mimeType;
400
+ string_view tslType;
401
for(auto info = other/"AdditionalInformation"/"OtherInformation"; info; info++)
402
403
if(auto mime = info/XMLName{"MimeType", ADD_NS})
404
mimeType = mime;
405
if(auto territory = info/"SchemeTerritory")
406
p.territory = territory;
407
+ if(auto type = info/"TSLType")
408
+ tslType = type;
409
}
410
if(mimeType != "application/vnd.etsi.tsl+xml")
411
continue;
412
+ if(contains(SCHEMES_URI, tslType))
413
+ continue;
414
p.location = other/"TSLLocation";
415
p.certs = serviceDigitalIdentities(other, p.territory);
416
if(!p.certs.empty())
0 commit comments