From 497008950db45aecfc4a21bd21df453ef895e36c Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期三, 06 四月 2022 12:17:28 +0800
Subject: [PATCH] 优化加密初始化方法

---
 src/main/java/com/hx/util/rsa/RSASignature.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/hx/util/rsa/RSASignature.java b/src/main/java/com/hx/util/rsa/RSASignature.java
index 7817759..6f32793 100644
--- a/src/main/java/com/hx/util/rsa/RSASignature.java
+++ b/src/main/java/com/hx/util/rsa/RSASignature.java
@@ -137,7 +137,7 @@
             for(int i = 0; i < keys.size(); ++i) {
                 String key = (String)keys.get(i);
                 Object value = params.get(key);
-                if(value != null){
+                if(value == null){
                     continue;
                 }
                 content.append(i == 0 ? "" : "&").append(key).append("=").append(value);

--
Gitblit v1.8.0