[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libebics] branch master updated: rename key macro
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libebics] branch master updated: rename key macro |
Date: |
Mon, 29 Oct 2018 12:10:18 +0100 |
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 d54109c rename key macro
d54109c is described below
commit d54109c7da011b2ff7ea894c576a988e6cc87776
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Oct 29 12:10:01 2018 +0100
rename key macro
---
src/libebics.c | 2 +-
src/libebics.h | 2 +-
src/xmlmessages.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/libebics.c b/src/libebics.c
index 27a5a0f..ccf37cd 100644
--- a/src/libebics.c
+++ b/src/libebics.c
@@ -762,7 +762,7 @@ EBICS_init_library (const char *key_dir,
keyFiles[EBICS_USER_ES_KEY] = key_files->es_key;
keyFiles[EBICS_USER_ENC_KEY] = key_files->enc_key;
- keyFiles[EBICS_USER_SIG_KEY] = key_files->sig_key;
+ keyFiles[EBICS_USER_AUTH_KEY] = key_files->sig_key;
if (EBICS_SUCCESS != init_keymaterial
(keyList,
diff --git a/src/libebics.h b/src/libebics.h
index c1a70ed..0ccd04a 100644
--- a/src/libebics.h
+++ b/src/libebics.h
@@ -154,7 +154,7 @@ struct EBICS_UserKeyFiles
/**
* Key used by the customer to identify and authenticate.
*/
- #define EBICS_USER_SIG_KEY 2
+ #define EBICS_USER_AUTH_KEY 2
char *sig_key;
};
diff --git a/src/xmlmessages.c b/src/xmlmessages.c
index 04e9981..3e60884 100644
--- a/src/xmlmessages.c
+++ b/src/xmlmessages.c
@@ -470,7 +470,7 @@ EBICS_build_content_hia (void *cls,
&encMod);
util_extract_public_RSAKeyValue
- (&keyList[EBICS_USER_SIG_KEY],
+ (&keyList[EBICS_USER_AUTH_KEY],
&sigExp,
&sigMod);
@@ -729,7 +729,7 @@ EBICS_build_auth_signature (void *cls,
LOG (EBICS_LOGLEVEL_DEBUG,
"Message building finished, now signign");
- EBICS_sign_message (&keyList[EBICS_USER_SIG_KEY],
+ EBICS_sign_message (&keyList[EBICS_USER_AUTH_KEY],
document);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libebics] branch master updated: rename key macro,
gnunet <=