preserve const qualifier
This commit is contained in:
parent
9d38ddee10
commit
2fd20b36e1
@ -348,7 +348,7 @@ int sqlcipher_codec_ctx_set_cipher(codec_ctx *ctx, const char *cipher_name, int
|
||||
int sqlcipher_codec_ctx_get_cipher(Parse *pParse, codec_ctx *ctx, int for_ctx) {
|
||||
cipher_ctx *c_ctx = for_ctx ? ctx->write_ctx : ctx->read_ctx;
|
||||
EVP_CIPHER *evp_cipher = c_ctx->evp_cipher;
|
||||
char* name = EVP_CIPHER_name(evp_cipher);
|
||||
const char* name = EVP_CIPHER_name(evp_cipher);
|
||||
codec_vdbe_return_static_string(pParse, "cipher", name);
|
||||
|
||||
return SQLITE_OK;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user