diff options
author | Chia-chi Yeh <chiachi@android.com> | 2010-03-08 17:25:27 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2010-03-08 17:25:27 +0800 |
commit | a033701e9708a95599bf3858391cb14de2e07463 (patch) | |
tree | f184e1102ac392144e123efc898b445726487bb0 | |
parent | deb2343c4bb2fb43eba41ed048cd255c9c5653e3 (diff) | |
download | wpa_supplicant-a033701e9708a95599bf3858391cb14de2e07463.tar.gz |
modify according to the change of keystore interface.
Change-Id: I2436708731a8a2c0faf6124c1bb3dceb6c8867ed
-rw-r--r-- | tls_openssl.c | 2 |
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); } |