hcxdmptool: update to 6.3.2
[feed/packages.git] / net / hcxtools / patches / 010-openssl.patch
1 --- a/hcxhashtool.c
2 +++ b/hcxhashtool.c
3 @@ -107,9 +107,6 @@ static void closelists()
4 {
5 if(hashlist != NULL) free(hashlist);
6 if(ouilist != NULL) free(ouilist);
7 -EVP_cleanup();
8 -CRYPTO_cleanup_all_ex_data();
9 -ERR_free_strings();
10 return;
11 }
12 /*===========================================================================*/
13 @@ -128,8 +125,6 @@ eapolwrittencount = 0;
14 essidwrittencount = 0;
15 hccapxwrittencount = 0;
16 hccapwrittencount = 0;
17 -ERR_load_crypto_strings();
18 -OpenSSL_add_all_algorithms();
19 if((hashlist = (hashlist_t*)calloc(hashlistcount, HASHLIST_SIZE)) == NULL) return false;
20 if((ouilist = (ouilist_t*)calloc(ouilistcount, OUILIST_SIZE)) == NULL) return false;
21 return true;
22 --- a/hcxpcapngtool.c
23 +++ b/hcxpcapngtool.c
24 @@ -366,9 +366,6 @@ if(eapmschapv2msglist != NULL) free(eapm
25 if(eapmschapv2hashlist != NULL) free(eapmschapv2hashlist);
26 if(tacacsplist != NULL) free(tacacsplist);
27
28 -EVP_cleanup();
29 -CRYPTO_cleanup_all_ex_data();
30 -ERR_free_strings();
31 return;
32 }
33 /*===========================================================================*/
34 @@ -377,8 +374,6 @@ static bool initlists()
35 static unsigned long opensslversion;
36 static const char nastring[] = { "N/A" };
37
38 -ERR_load_crypto_strings();
39 -OpenSSL_add_all_algorithms();
40 opensslversion = OpenSSL_version_num();
41 opensslversionmajor = (opensslversion & 0x10000000L) >> 28;
42 opensslversionminor = (opensslversion & 0x01100000L) >> 20;
43 --- a/hcxpmktool.c
44 +++ b/hcxpmktool.c
45 @@ -923,8 +923,6 @@ while((auswahl = getopt_long(argc, argv,
46 }
47 }
48
49 -ERR_load_crypto_strings();
50 -OpenSSL_add_all_algorithms();
51 printf("\n");
52 if((essidstring != NULL) && (pskstring != NULL) && (pmkstring == NULL) && (hashlinestring == NULL))
53 {
54 @@ -956,9 +954,6 @@ else if((essidstring != NULL) && (pskstr
55 }
56
57 printf("\n");
58 -EVP_cleanup();
59 -CRYPTO_cleanup_all_ex_data();
60 -ERR_free_strings();
61 return EXIT_SUCCESS;
62 }
63 /*===========================================================================*/
64 --- a/hcxpsktool.c
65 +++ b/hcxpsktool.c
66 @@ -63,8 +63,6 @@ essidglen = 32;
67 t = time(NULL);
68 tm = localtime(&t);
69 thisyear = tm->tm_year +1900;
70 -ERR_load_crypto_strings();
71 -OpenSSL_add_all_algorithms();
72 return;
73 }
74 /*===========================================================================*/
75 @@ -2832,10 +2830,6 @@ if(pskname != NULL)
76 fclose(fhpsk);
77 }
78
79 -EVP_cleanup();
80 -CRYPTO_cleanup_all_ex_data();
81 -ERR_free_strings();
82 -
83 return EXIT_SUCCESS;
84 }
85 /*===========================================================================*/