Skip to content

Commit

Permalink
modify according to the change of keystore interface.
Browse files Browse the repository at this point in the history
Change-Id: I2436708731a8a2c0faf6124c1bb3dceb6c8867ed
  • Loading branch information
Chia-chi Yeh committed Mar 8, 2010
1 parent deb2343 commit a033701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a033701

Please sign in to comment.