modify according to the change of keystore interface.

Change-Id: I110aadb17235a9ce240636371ce457c880b63968
diff --git a/main.c b/main.c
index 75e09f8..e6f0003 100644
--- a/main.c
+++ b/main.c
@@ -267,7 +267,7 @@
     vchar_t *p = NULL;
 #ifdef ANDROID_CHANGES
     char value[KEYSTORE_MESSAGE_SIZE];
-    int length = keystore_get(key, value);
+    int length = keystore_get(key, size, value);
     if (length != -1 && (p = vmalloc(length)) != NULL) {
         memcpy(p->v, value, length);
     }
diff --git a/src/racoon/crypto_openssl.c b/src/racoon/crypto_openssl.c
index 77d9ee9..b6e4c0d 100644
--- a/src/racoon/crypto_openssl.c
+++ b/src/racoon/crypto_openssl.c
@@ -441,7 +441,7 @@
 {
 	BIO *bio = NULL;
 	char value[KEYSTORE_MESSAGE_SIZE];
-	int length = keystore_get(key, value);
+	int length = keystore_get(key, strlen(key), value);
 	if (length != -1 && (bio = BIO_new(BIO_s_mem())) != NULL) {
 		BIO_write(bio, value, length);
 	}