From: Dmitry Belyavskiy Date: Tue, 19 May 2020 14:36:37 +0000 (+0300) Subject: Build fix X-Git-Tag: v3.0.0~102 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=d194ab29f0ac4195f0f643989d1c8579bbb094d1;p=openssl-gost%2Fengine.git Build fix --- diff --git a/test_tlstree.c b/test_tlstree.c index df25742..5f6b9fd 100644 --- a/test_tlstree.c +++ b/test_tlstree.c @@ -127,7 +127,7 @@ int main(void) if (seq0[i] != 0) break; } - EVP_CIPHER_CTX_ctrl(enc, EVP_CTRL_TLS1_2_TLSTREE, 0, seq0); + EVP_CIPHER_CTX_ctrl(enc, EVP_CTRL_TLSTREE, 0, seq0); EVP_Cipher(enc, data0_processed, data0, sizeof(data0)); EVP_Cipher(enc, data0_processed+sizeof(data0), mac0, 16); @@ -161,7 +161,7 @@ int main(void) if (seq63[i] != 0) break; } - EVP_CIPHER_CTX_ctrl(enc, EVP_CTRL_TLS1_2_TLSTREE, 0, seq63); + EVP_CIPHER_CTX_ctrl(enc, EVP_CTRL_TLSTREE, 0, seq63); EVP_Cipher(enc, data63_processed, data63, sizeof(data63)); EVP_Cipher(enc, data63_processed+sizeof(data63), mac63, 16);