keystore: Fix a compile warning.

This commit is contained in:
Chia-chi Yeh
2009-07-16 14:45:11 +08:00
parent ba3ba57921
commit ef33cddcce

View File

@@ -29,7 +29,7 @@
* is returned. Otherwise it returns the value in dynamically allocated memory
* and sets the size if the pointer is not NULL. One can release the memory by
* calling free(). */
static char *keystore_get(char *key, int *size)
static char *keystore_get(const char *key, int *size)
{
char buffer[MAX_KEY_VALUE_LENGTH];
char *value;