Don't initialise a CIPHER_CTX if cipher == NULL.