diff options
author | Chia-chi Yeh <chiachi@android.com> | 2010-03-08 17:22:47 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2010-03-08 17:22:47 +0800 |
commit | e01c97926d16201d90f2a0f1998c1276be459e5c (patch) | |
tree | 8655e33ad157fa6be4b746e3da39ef62b6fd099a | |
parent | 003eefd3dc011a04a29f12c505726b63144650f7 (diff) | |
download | mtpd-e01c97926d16201d90f2a0f1998c1276be459e5c.tar.gz |
modify according to the change of keystore interface.
Change-Id: I391dae3fff391f4c67bb34b512f2e9e60182e809
-rw-r--r-- | mtpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -151,7 +151,7 @@ static int get_control_and_arguments(int *argc, char ***argv) * so other files are clean and free from android specific code. */ if (i > 4 && !strcmp("l2tp", args[1]) && args[4][0]) { char value[KEYSTORE_MESSAGE_SIZE]; - int length = keystore_get(args[4], value); + int length = keystore_get(args[4], strlen(args[4]), value); if (length == -1) { log_print(FATAL, "Cannot get L2TP secret from keystore"); exit(SYSTEM_ERROR); |