[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: fix null pointer
From: |
gnunet |
Subject: |
[libeufin] branch master updated: fix null pointer |
Date: |
Wed, 22 Jan 2020 23:57:26 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 260528a fix null pointer
260528a is described below
commit 260528a123dce3c474b14b2a7098ec04b44aeb23
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jan 22 23:57:17 2020 +0100
fix null pointer
---
nexus/src/main/kotlin/Main.kt | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt
index d6911f5..57d116f 100644
--- a/nexus/src/main/kotlin/Main.kt
+++ b/nexus/src/main/kotlin/Main.kt
@@ -613,6 +613,17 @@ fun main() {
)
}
val payload = "PAYLOAD"
+
+ if (subscriberData.bankEncPub == null) {
+ call.respondText(
+ "Bank encryption key not found, request HPB first!\n",
+ ContentType.Text.Plain,
+ HttpStatusCode.NotFound
+ )
+ return@post
+ }
+
+
val usd_encrypted = CryptoUtil.encryptEbicsE002(
EbicsOrderUtil.encodeOrderDataXml(
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: fix null pointer,
gnunet <=