File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/config Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ public CloseableHttpClient initApiV3HttpClient() throws WxPayException {
343343 certificate = (X509Certificate ) objects [1 ];
344344 this .certSerialNo = certificate .getSerialNumber ().toString (16 ).toUpperCase ();
345345 }
346- if (certificate == null && StringUtils .isBlank (this .getCertSerialNo ()) && (StringUtils .isNotBlank (this .getPrivateCertPath ()) || StringUtils .isNotBlank (this .getPrivateCertString ())) || this .getPrivateCertContent () != null ) {
346+ if (certificate == null && StringUtils .isBlank (this .getCertSerialNo ()) && (StringUtils .isNotBlank (this .getPrivateCertPath ()) || StringUtils .isNotBlank (this .getPrivateCertString ()) || this .getPrivateCertContent () != null ) ) {
347347 try (InputStream certInputStream = this .loadConfigInputStream (this .getPrivateCertString (), this .getPrivateCertPath (),
348348 this .privateCertContent , "privateCertPath" )) {
349349 certificate = PemUtils .loadCertificate (certInputStream );
You can’t perform that action at this time.
0 commit comments