OSDN Git Service
(root)
/
android-x86
/
external-wpa_supplicant_6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6783b35
)
modify according to the change of keystore interface.
author
Chia-chi Yeh
<chiachi@android.com>
Mon, 8 Mar 2010 09:25:58 +0000
(17:25 +0800)
committer
Chia-chi Yeh
<chiachi@android.com>
Mon, 8 Mar 2010 09:25:58 +0000
(17:25 +0800)
Change-Id: I1fe2ee40ac60ed858322a1ab38e6aec63820eda1
wpa_supplicant/src/crypto/tls_openssl.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/src/crypto/tls_openssl.c
b/wpa_supplicant/src/crypto/tls_openssl.c
index
849358f
..
3d468ec
100644
(file)
--- a/
wpa_supplicant/src/crypto/tls_openssl.c
+++ b/
wpa_supplicant/src/crypto/tls_openssl.c
@@
-55,7
+55,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);
}