diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-15 22:37:11 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-15 22:47:01 -0500 |
commit | ecdd0ff733985fb573d687fe85fa533f62f6cfd8 (patch) | |
tree | 9ee54cb707f7ab18b35cdaede0bfe29760b3d55e /crypto/evp/e_des.c | |
parent | 25be7a0feacdbd3326774f0da8aaeb966c1f57f8 (diff) |
RT4247: Fix EVP_CIPHER_CTX opaque on sparc
Via Rainer Jung
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/evp/e_des.c')
-rw-r--r-- | crypto/evp/e_des.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_des.c b/crypto/evp/e_des.c index 5536f629d4..929151c3c7 100644 --- a/crypto/evp/e_des.c +++ b/crypto/evp/e_des.c @@ -247,7 +247,7 @@ static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, dat->stream.cbc = NULL; # if defined(SPARC_DES_CAPABLE) if (SPARC_DES_CAPABLE) { - int mode = ctx->cipher->flags & EVP_CIPH_MODE; + int mode = EVP_CIPHER_CTX_mode(ctx); if (mode == EVP_CIPH_CBC_MODE) { des_t4_key_expand(key, &dat->ks.ks); |