terl / lazysodium-java

A Java implementation of the Libsodium crypto library. For the lazy dev.
https://github.com/terl/lazysodium-java/wiki
Mozilla Public License 2.0
135 stars 47 forks source link

update of NativeUtils with a deletedir function. #42

Closed vogt31337 closed 5 years ago

vogt31337 commented 5 years ago

Hi,

for some, to me unknown, reasons, java can't delete non empty dirs (StackOverflow discussion). This is the source of an IOException which hinders loading the libsodium.dll.

This pull request suggests a simple fix for the problem, to finally enable loading the dll. Should resolve Issue #41

gurpreet- commented 5 years ago

Hi @vogt31337,

I'd never have thought that this was an issue! Great find, thank you so much!