NULL check before pointer dereference

The function EVP_CIPHER_CTX_set_padding() is called with ctx.get()
before checking ctx for NULL. The NULL check is performed after the
function.
This commit moves the NULL check before Function call.

Signed-off-by: P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com>
Change-Id: If8f3b78d2e33c216adac9da54bdc22079435aad4
1 file changed