aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-03-08 17:25:27 +0800
committerChia-chi Yeh <chiachi@android.com>2010-03-08 17:25:27 +0800
commita033701e9708a95599bf3858391cb14de2e07463 (patch)
treef184e1102ac392144e123efc898b445726487bb0
parentdeb2343c4bb2fb43eba41ed048cd255c9c5653e3 (diff)
downloadwpa_supplicant-a033701e9708a95599bf3858391cb14de2e07463.tar.gz
modify according to the change of keystore interface.
Change-Id: I2436708731a8a2c0faf6124c1bb3dceb6c8867ed
-rw-r--r--tls_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tls_openssl.c b/tls_openssl.c
index 61fa747..e29326e 100644
--- a/tls_openssl.c
+++ b/tls_openssl.c
@@ -45,7 +45,7 @@ static BIO *BIO_from_keystore(const char *key)
{
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);
}