summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2014-02-08 17:14:56 +0100
committerSamuel Lidén Borell <samuel@kodafritt.se>2014-02-08 17:14:56 +0100
commit195bf47902df3a313483d92737933da7a7504e1d (patch)
treefa97f4d41921e400d1a4019e261997756cc81ebb
parent401ee9619aadd261e4c2ab2f48b3c2b025918ad0 (diff)
downloadfribid-195bf47902df3a313483d92737933da7a7504e1d.tar.gz
fribid-195bf47902df3a313483d92737933da7a7504e1d.tar.bz2
fribid-195bf47902df3a313483d92737933da7a7504e1d.zip
Remove/merge unused functions
-rw-r--r--client/bankid.c8
-rw-r--r--client/platform.h1
2 files changed, 1 insertions, 8 deletions
diff --git a/client/bankid.c b/client/bankid.c
index 67ff7fc..98e24a9 100644
--- a/client/bankid.c
+++ b/client/bankid.c
@@ -43,7 +43,7 @@
* Nexus Personal for Linux in order to be compatible with all servers, which
* may or may not accept unofficial version strings.
*/
-static char *getVersionString(void) {
+char *bankid_getVersion(void) {
static const char template[] =
"Personal=%1$s&"
"libai_so=%1$s&"
@@ -73,12 +73,6 @@ static char *getVersionString(void) {
return rasprintf(template, versionToEmulate, expiry);
}
-
-/* Version objects */
-char *bankid_getVersion() {
- return getVersionString();
-}
-
/* Authentication and signing objects */
static const char sign_template[] =
"<bankIdSignedData xmlns=\"http://www.bankid.com/signature/v1.0.0/types\" Id=\"bidSignedData\">"
diff --git a/client/platform.h b/client/platform.h
index 31ecf46..39fc2e5 100644
--- a/client/platform.h
+++ b/client/platform.h
@@ -103,7 +103,6 @@ bool platform_choosePassword(char *password, long password_maxlen);
/* Errors */
void platform_showError(TokenError error);
-void platform_versionExpiredError();
#endif