gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libebics] branch master updated: CAMT.053 Validates.


From: gnunet
Subject: [GNUnet-SVN] [libebics] branch master updated: CAMT.053 Validates.
Date: Fri, 26 Oct 2018 23:48:08 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository libebics.

The following commit(s) were added to refs/heads/master by this push:
     new 90ded2f  CAMT.053 Validates.
90ded2f is described below

commit 90ded2f78a43f21f5cc7ac522756fc8b61fc580a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Oct 26 23:38:22 2018 +0200

    CAMT.053 Validates.
    
    Providing (TEMPORARY) dummy values in order to get
    CAMT.053 to validate; to be replaced with appropriate
    data once all the keying is set up.
---
 src/xmlmessages.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/src/xmlmessages.c b/src/xmlmessages.c
index e8ca74d..04e9981 100644
--- a/src/xmlmessages.c
+++ b/src/xmlmessages.c
@@ -248,7 +248,7 @@ EBICS_build_header_ebicsRequest
                              tools_get_timestamp (date)),
 
     /* TODO: test if header should be initializing or not */
-    EBICS_MSG_op_set_string ("ebics:TransactionPhase",
+    EBICS_MSG_op_set_string ("//ebics:TransactionPhase",
                              "Initialisation"),
     EBICS_MSG_op_end ()
   };
@@ -627,6 +627,15 @@ EBICS_build_bankPubKeyDigest (void *cls,
                               struct EBICS_genex_document *document)
 {
 
+  #define DUMMY_VALUES
+  #ifdef DUMMY_VALUES
+  /* WARNING: use those values to make the validator happy */
+  char *DUMMY;
+  GNUNET_STRINGS_base64_encode ("DUMMY",
+                                4,
+                                &DUMMY);
+  #endif
+
   struct EBICS_MSG_Spec auth[] = {
 
     EBICS_MSG_op_unique_choice
@@ -638,11 +647,11 @@ EBICS_build_bankPubKeyDigest (void *cls,
 
     EBICS_MSG_op_set_attribute
       ("//ebics:BankPubKeyDigests/ebics:Authentication/@Algorithm",
-       "F1"),
+       DUMMY),
 
     EBICS_MSG_op_set_string
       ("//ebics:BankPubKeyDigests/ebics:Authentication",
-       "F2"),
+       DUMMY),
 
     EBICS_MSG_op_set_attribute
       ("//ebics:BankPubKeyDigests/ebics:Encryption/@Version",
@@ -654,7 +663,7 @@ EBICS_build_bankPubKeyDigest (void *cls,
 
     EBICS_MSG_op_set_string
       ("//ebics:BankPubKeyDigests/ebics:Encryption",
-       "F4"),
+       DUMMY),
 
     EBICS_MSG_op_end ()
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]