ecef526 Stop using crypt_get_error

Authored and Committed by mitr 2 years ago
    Stop using crypt_get_error
    
    Instead of crypt_get_error, which has been removed in cryptsetup 2.0,
    set up a log callback, which is available in both older and newer
    versions.
    
    Fixes #13.
    
        
file modified
+63 -27