Permalink
Browse files

modify according to the change of keystore interface.

Change-Id: I2436708731a8a2c0faf6124c1bb3dceb6c8867ed
  • Loading branch information...
1 parent deb2343 commit a033701e9708a95599bf3858391cb14de2e07463 Chia-chi Yeh committed Mar 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tls_openssl.c
View
@@ -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);
}

0 comments on commit a033701

Please sign in to comment.