• unknown's avatar
    BUG#10589: des_encrypt functionality always return NULL · caf6a750
    unknown authored
     - Push warnings if des_encrypt or des_descrypt function fails because of out of resources or wrong params.
     - Push warning if des_encrypt or des_decrypt function is used when server is missing support for openssl.
     - Add test func_encrypt_nossl that is tun when the server is missing support for openssl. 
    
    
    mysql-test/r/func_encrypt.result:
      Add tests for use of des_* function with invalid parameters
    mysql-test/t/func_encrypt.test:
      Add tests for use of des_* function with invalid parameters
    sql/item_strfunc.cc:
      Push warning if invalid paremeters are used
      Push warning if out of resources
      Push warning if user tries to use des_* function when the server has been compiled without support for openssl.
    caf6a750
func_encrypt.result 10.4 KB