diff --git a/cmds/keystore/keystore.cpp b/cmds/keystore/keystore.cpp index 05f77e532..2c9cb35b7 100644 --- a/cmds/keystore/keystore.cpp +++ b/cmds/keystore/keystore.cpp @@ -581,7 +581,7 @@ static ResponseCode get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, static ResponseCode insert(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value* val) { char filename[NAME_MAX]; encode_key(filename, uid, keyName); - Blob keyBlob(val->value, val->length, 0, NULL); + Blob keyBlob(val->value, val->length, NULL, 0); return keyStore->put(filename, &keyBlob); }