This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
new 2f1fe0b [CXF-7504] Avoiding NPE
2f1fe0b is described below
commit 2f1fe0b6f11b556b1923e433d83ede958f2c5fa1
Author: Sergey Beryozkin <[email protected]>
AuthorDate: Fri Sep 15 16:30:41 2017 +0100
[CXF-7504] Avoiding NPE
---
.../src/main/java/org/apache/cxf/rs/security/jose/jwe/JweUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweUtils.java
b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweUtils.java
index 5d3f523..4617934 100644
---
a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweUtils.java
+++
b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweUtils.java
@@ -361,7 +361,7 @@ public final class JweUtils {
}
}
public static JweEncryptionProvider loadEncryptionProvider(boolean
required) {
- return loadEncryptionProvider(null, required);
+ return loadEncryptionProvider(new JweHeaders(), required);
}
public static JweEncryptionProvider loadEncryptionProvider(JweHeaders
headers, boolean required) {
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].