You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.4 KiB

  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. -EVP_cleanup();
  28. -CRYPTO_cleanup_all_ex_data();
  29. -ERR_free_strings();
  30. return;
  31. }
  32. /*===========================================================================*/
  33. @@ -377,8 +374,6 @@ static bool initlists()
  34. static unsigned long opensslversion;
  35. static const char nastring[] = { "N/A" };
  36. -ERR_load_crypto_strings();
  37. -OpenSSL_add_all_algorithms();
  38. opensslversion = OpenSSL_version_num();
  39. opensslversionmajor = (opensslversion & 0x10000000L) >> 28;
  40. opensslversionminor = (opensslversion & 0x01100000L) >> 20;
  41. --- a/hcxpmktool.c
  42. +++ b/hcxpmktool.c
  43. @@ -923,8 +923,6 @@ while((auswahl = getopt_long(argc, argv,
  44. }
  45. }
  46. -ERR_load_crypto_strings();
  47. -OpenSSL_add_all_algorithms();
  48. printf("\n");
  49. if((essidstring != NULL) && (pskstring != NULL) && (pmkstring == NULL) && (hashlinestring == NULL))
  50. {
  51. @@ -956,9 +954,6 @@ else if((essidstring != NULL) && (pskstr
  52. }
  53. printf("\n");
  54. -EVP_cleanup();
  55. -CRYPTO_cleanup_all_ex_data();
  56. -ERR_free_strings();
  57. return EXIT_SUCCESS;
  58. }
  59. /*===========================================================================*/
  60. --- a/hcxpsktool.c
  61. +++ b/hcxpsktool.c
  62. @@ -63,8 +63,6 @@ essidglen = 32;
  63. t = time(NULL);
  64. tm = localtime(&t);
  65. thisyear = tm->tm_year +1900;
  66. -ERR_load_crypto_strings();
  67. -OpenSSL_add_all_algorithms();
  68. return;
  69. }
  70. /*===========================================================================*/
  71. @@ -2832,10 +2830,6 @@ if(pskname != NULL)
  72. fclose(fhpsk);
  73. }
  74. -EVP_cleanup();
  75. -CRYPTO_cleanup_all_ex_data();
  76. -ERR_free_strings();
  77. -
  78. return EXIT_SUCCESS;
  79. }
  80. /*===========================================================================*/