Commit 349edae 1 parent 2008354 commit 349edae Copy full SHA for 349edae
File tree 3 files changed +1
-7
lines changed
libiec61850/dotnet/core/2.0/iec61850_client
3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,6 @@ public class
101
101
[ BsonDefaultValue ( new string [ ] { } ) ]
102
102
public string [ ] peerCertFilesPaths { get ; set ; }
103
103
[ BsonDefaultValue ( "" ) ]
104
- public string peerCertFilePath { get ; set ; }
105
- [ BsonDefaultValue ( "" ) ]
106
104
public string rootCertFilePath { get ; set ; }
107
105
[ BsonDefaultValue ( false ) ]
108
106
public bool allowOnlySpecificCertificates { get ; set ; }
@@ -369,7 +367,6 @@ static void Main(string[] args)
369
367
secInfo = new TlsSecurityInformation ( null , ownCertificate ) ;
370
368
371
369
// Add allowed server certificates - not required when AllowOnlySpecificCertificates == false
372
- secInfo . AddAllowedCertificate ( new X509Certificate2 ( srv . peerCertFilePath ) ) ;
373
370
foreach ( string peerCertFilePath in srv . peerCertFilesPaths )
374
371
secInfo . AddAllowedCertificate ( new X509Certificate2 ( peerCertFilePath ) ) ;
375
372
Original file line number Diff line number Diff line change @@ -109,8 +109,6 @@ public class
109
109
[ BsonDefaultValue ( new string [ ] { } ) ]
110
110
public string [ ] peerCertFilesPaths { get ; set ; }
111
111
[ BsonDefaultValue ( "" ) ]
112
- public string peerCertFilePath { get ; set ; }
113
- [ BsonDefaultValue ( "" ) ]
114
112
public string rootCertFilePath { get ; set ; }
115
113
[ BsonDefaultValue ( false ) ]
116
114
public bool allowOnlySpecificCertificates { get ; set ; }
@@ -369,7 +367,6 @@ static void Main(string[] args)
369
367
secInfo = new TlsSecurityInformation ( null , ownCertificate ) ;
370
368
371
369
// Add allowed server certificates - not required when AllowOnlySpecificCertificates == false
372
- secInfo . AddAllowedCertificate ( new X509Certificate2 ( srv . peerCertFilePath ) ) ;
373
370
foreach ( string peerCertFilePath in srv . peerCertFilesPaths )
374
371
secInfo . AddAllowedCertificate ( new X509Certificate2 ( peerCertFilePath ) ) ;
375
372
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public class
104
104
[ BsonDefaultValue ( "" ) ]
105
105
public string localCertFilePath { get ; set ; }
106
106
[ BsonDefaultValue ( "" ) ]
107
- public string peerCertFilePath { get ; set ; }
107
+ public string peerCertFilesPaths { get ; set ; }
108
108
[ BsonDefaultValue ( "" ) ]
109
109
public string rootCertFilePath { get ; set ; }
110
110
[ BsonDefaultValue ( false ) ]
You can’t perform that action at this time.
0 commit comments