Fix NID of |EVP_CIPHER des3_cbc|.
Change-Id: I0f27fa1897d2f0a148203610ccd5c6c7967f9f3d Reviewed-on: https://boringssl-review.googlesource.com/5510 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
820731a2b0
commit
6bfdc63114
@ -127,7 +127,7 @@ static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
|
||||
}
|
||||
|
||||
static const EVP_CIPHER des3_cbc = {
|
||||
NID_des_cbc, 8 /* block_size */, 24 /* key_size */,
|
||||
NID_des_ede3_cbc, 8 /* block_size */, 24 /* key_size */,
|
||||
8 /* iv_len */, sizeof(DES_EDE_KEY), EVP_CIPH_CBC_MODE,
|
||||
NULL /* app_data */, des_ede3_init_key, des_ede3_cbc_cipher,
|
||||
NULL /* cleanup */, NULL /* ctrl */, };
|
||||
|
Loading…
Reference in New Issue
Block a user