File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed
projects/client/RabbitMQ.Client/src/client/api Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,12 @@ DB2PDF_OPTIONS=\
12
12
-V %generate-article-toc% \
13
13
-V %generate-article-titlepage-on-separate-page%
14
14
15
- all : delete-unpacked-pyle unpack-pyle start-pyle targets
16
- cat pyle.log
17
- make delete-unpacked-pyle
15
+ all : delete-unpacked-pyle unpack-pyle start-pyle
16
+ OK=true && \
17
+ { make targets || OK=false; } && \
18
+ cat pyle.log && \
19
+ make delete-unpacked-pyle && \
20
+ $$ OK
18
21
19
22
bundle :
20
23
make all
Original file line number Diff line number Diff line change @@ -93,20 +93,28 @@ public string CertPassphrase
93
93
set { m_certPass = value ; }
94
94
}
95
95
96
+ private X509CertificateCollection m_certs ;
96
97
97
- ///<summary>Convenience read-only property to retrieve an X509CertificateCollection
98
- ///containing the client certificate</summary>
98
+ ///<summary>Retrieve or set the X509CertificateCollection
99
+ ///containing the client certificate. If no collection is set,
100
+ ///the client will attempt to load one from the specified
101
+ ///CertPath.</summary>
99
102
public X509CertificateCollection Certs
100
103
{
101
- get {
102
- if ( m_certPath == "" ) {
104
+ get {
105
+ if ( m_certs != null ) {
106
+ return m_certs ;
107
+ } else if ( m_certPath == "" ) {
103
108
return null ;
104
109
} else {
105
110
X509CertificateCollection c = new X509CertificateCollection ( ) ;
106
111
c . Add ( new X509Certificate2 ( m_certPath , m_certPass ) ) ;
107
112
return c ;
108
113
}
109
114
}
115
+ set {
116
+ m_certs = value ;
117
+ }
110
118
}
111
119
112
120
private string m_serverName ;
You can’t perform that action at this time.
0 commit comments