You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to make this project on Ubuntu 18.04 with OpenSSL 1.1 yields the following compiler errors:
...
cc -O2 -Wall -s -o vfdecrypt vfdecrypt.c -lcrypto
vfdecrypt.c: In function ‘apple_des3_ede_unwrap_key’:
vfdecrypt.c:215:18: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^~~
...
vfdecrypt.c: In function ‘unwrap_v2_header’:
vfdecrypt.c:282:18: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^~~
...
vfdecrypt.c: At top level:
vfdecrypt.c:186:10: error: storage size of ‘hmacsha1_ctx’ isn’t known
HMAC_CTX hmacsha1_ctx;
^~~~~~~~~~~~
...
Makefile:20: recipe for target 'vfdecrypt' failed
make: *** [vfdecrypt] Error 1
I have resolved this editing vfdecrypt.c and recompiling. The problem was that some istanziation structures are changed with openSSL 1.1.0. I have pulled a request for this
This is already solved in another fork - https://github.com/Lekensteyn/dmg2img.
From practical point of view I would consider the repo above as a new mainline.
Trying to make this project on Ubuntu 18.04 with OpenSSL 1.1 yields the following compiler errors:
This is due to an API change in OpenSSL 1.1, see https://stackoverflow.com/questions/42662733/evp-md-ctx-error-storage-size-of-ctx-isn-t-known.
The text was updated successfully, but these errors were encountered: