evp/e_aes.c: fix SPARC T4-specific problem:

- SIGSEGV/ILL in CCM (RT#3688);

Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
Andy Polyakov 2015-02-09 11:46:19 +01:00
parent 9c5c18500b
commit df57e42baa

View File

@ -790,6 +790,8 @@ static int aes_t4_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
default:
return 0;
}
# else
cctx->str = NULL;
# endif
cctx->key_set = 1;
}