[Commits] 97037da: Replace static usage of AES_CTR with current encryption algorithm.

Jeremy Cole jeremycole at google.com
Tue Mar 17 20:05:05 EET 2015


Jan,


> -  my_aes_init_dynamic_encrypt(MY_AES_ALGORITHM_CTR);
> +  if (current_aes_dynamic_method == MY_AES_ALGORITHM_NONE)
> +  {
> +    sql_print_error("No encryption method choosen with
> --encryption-algorithm. "
> +                    "example_key_management_plugin disabled");
> +    return 1;
> +  }
>

I don't get it. Why is example_key_management_plugin special here? If
you're going to support "none", why not here as well?


> +
> +  my_aes_init_dynamic_encrypt(current_aes_dynamic_method);
>

Isn't this redundant? It should already be initialized by the call in
init_server_components...

Regards,

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.askmonty.org/pipermail/commits/attachments/20150317/fc613834/attachment.html>


More information about the commits mailing list