tag:blogger.com,1999:blog-2346289058306359524.post1834775646248176945..comments2023-05-31T10:37:16.785+02:00Comments on The Evil Bit Blog: Kioptrix Level 1 - WalkthroughCsaba Fitzlhttp://www.blogger.com/profile/00612235643669949317noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-2346289058306359524.post-83194135118702848672017-02-13T02:35:58.301+01:002017-02-13T02:35:58.301+01:00I get these errors when I try to compile it. I hav...I get these errors when I try to compile it. I have added the headers to it and everything but it seems like my amazing C experience isn't helping ^,^ ... <br /> <br />764.c:645:24: error: ‘SSL2_MAX_CONNECTION_ID_LENGTH’ undeclared here (not in a function)<br /> unsigned char conn_id[SSL2_MAX_CONNECTION_ID_LENGTH];<br /> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />764.c: In function ‘read_ssl_packet’:<br />764.c:847:19: error: ‘SSL2_MT_ERROR’ undeclared (first use in this function)<br /> if ((buf[0] == SSL2_MT_ERROR) && (rec_len == 3)) {<br /> ^~~~~~~~~~~~~<br />764.c:847:19: note: each undeclared identifier is reported only once for each function it appears in<br />764.c: In function ‘get_server_hello’:<br />764.c:979:16: error: ‘SSL2_MT_SERVER_HELLO’ undeclared (first use in this function)<br /> if (*(p++) != SSL2_MT_SERVER_HELLO) {<br /> ^~~~~~~~~~~~~~~~~~~~<br />764.c: In function ‘send_client_master_key’:<br />764.c:1071:10: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’<br /> if (pkey->type != EVP_PKEY_RSA) {<br /> ^~<br />764.c: In function ‘get_server_verify’:<br />764.c:1148:16: error: ‘SSL2_MT_SERVER_VERIFY’ undeclared (first use in this function)<br /> if (buf[0] != SSL2_MT_SERVER_VERIFY) {<br /> ^~~~~~~~~~~~~~~~~~~~~<br />764.c: In function ‘send_client_finished’:<br />764.c:1160:11: error: ‘SSL2_MT_CLIENT_FINISHED’ undeclared (first use in this function)<br /> buf[0] = SSL2_MT_CLIENT_FINISHED;<br /> ^~~~~~~~~~~~~~~~~~~~~~~<br />764.c: In function ‘get_server_finished’:<br />764.c:1173:16: error: ‘SSL2_MT_SERVER_FINISHED’ undeclared (first use in this function)<br /> if (buf[0] != SSL2_MT_SERVER_FINISHED) {<br />Anonymousnoreply@blogger.com