Skip to content

Commit

Permalink
Fix the S390X support for the basic AES ciphers
Browse files Browse the repository at this point in the history
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#8700)
  • Loading branch information
mattcaswell committed Apr 19, 2019
1 parent 3a7b15e commit 64adf9a
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 215 deletions.
2 changes: 1 addition & 1 deletion providers/common/ciphers/aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static int aes_cipher(void *vctx, unsigned char *out, const unsigned char *in,
\
ctx->pad = 1; \
ctx->keylen = (len / 8); \
ctx->ciph = PROV_AES_CIPHER_##lcmode(); \
ctx->ciph = PROV_AES_CIPHER_##lcmode(ctx->keylen); \
ctx->mode = EVP_CIPH_##UCMODE##_MODE; \
return ctx; \
}
Expand Down
Loading

0 comments on commit 64adf9a

Please sign in to comment.