File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
generator/cybersource-csharp-template Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ public object CallApi(
460460 string fileName = Path . Combine ( clientCertDirectory , clientCertFile ) ;
461461 // Importing Certificates
462462 var certificate = new X509Certificate2 ( fileName , clientCertPassword ) ;
463+ clientCertPassword = string . Empty ;
463464 RestClient . Options . ClientCertificates = new X509CertificateCollection { certificate } ;
464465 }
465466
Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ namespace {{packageName}}.Client
502502 string fileName = Path.Combine(clientCertDirectory, clientCertFile);
503503 // Importing Certificates
504504 var certificate = new X509Certificate2(fileName, clientCertPassword);
505+ clientCertPassword= string.Empty;
505506 RestClient.Options.ClientCertificates = new X509CertificateCollection { certificate } ;
506507 }
507508
You can’t perform that action at this time.
0 commit comments