]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - test_tlstree.c
Update INSTALL.md
[openssl-gost/engine.git] / test_tlstree.c
index df2574298d38f0828b241c0090556d892238ccf8..2fbc16a094ab2df3a66e4c49bf32e958db01e95f 100644 (file)
@@ -19,6 +19,7 @@ static void hexdump(FILE *f, const char *title, const unsigned char *s, int l)
 int main(void)
 {
 #ifdef EVP_MD_CTRL_TLSTREE
+#ifdef EVP_CTRL_TLS1_2_TLSTREE
        const unsigned char mac_secret[] = {
 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
@@ -176,6 +177,7 @@ int main(void)
                exit(1);
        }
 
+#endif
 #endif
        return 0;
 }