Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhash 1.4.5 #1207

Merged
merged 1 commit into from
Dec 27, 2024
Merged

rhash 1.4.5 #1207

merged 1 commit into from
Dec 27, 2024

Conversation

sevan
Copy link
Collaborator

@sevan sevan commented Nov 16, 2024

Tested on Tiger (G5) with GCC 4.0.1 and Snow Leopard with GCC 4.2

Copy link
Owner

@mistydemeo mistydemeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it didn't link against openssl3, but it'll use it at runtime?

@mistydemeo mistydemeo merged commit 0db49cb into mistydemeo:master Dec 27, 2024
@sevan sevan deleted the rhash145 branch December 27, 2024 11:09
@sevan
Copy link
Collaborator Author

sevan commented Dec 27, 2024

Correct, during configure it reports Checking for OpenSSL ... runtime
And if the openssl3 parts are removed the build fails when it tries to use the headers from the mature copy included with OS.

plug_openssl.c:53:32: error: openssl/whrlpool.h: No such file or directory
plug_openssl.c: In function ‘wrapSHA224_Final’:
plug_openssl.c:115: error: ‘SHA256_CTX’ undeclared (first use in this function)
plug_openssl.c:115: error: (Each undeclared identifier is reported only once
plug_openssl.c:115: error: for each function it appears in.)
plug_openssl.c:115: error: parse error before ‘)’ token
plug_openssl.c:115: warning: unused parameter ‘ctx’
plug_openssl.c: In function ‘wrapSHA256_Final’:
plug_openssl.c:116: error: ‘SHA256_CTX’ undeclared (first use in this function)
plug_openssl.c:116: error: parse error before ‘)’ token
plug_openssl.c:116: warning: unused parameter ‘ctx’
plug_openssl.c: In function ‘wrapSHA384_Final’:
plug_openssl.c:117: error: ‘SHA512_CTX’ undeclared (first use in this function)
plug_openssl.c:117: error: parse error before ‘)’ token
plug_openssl.c:117: warning: unused parameter ‘ctx’
plug_openssl.c: In function ‘wrapSHA512_Final’:
plug_openssl.c:118: error: ‘SHA512_CTX’ undeclared (first use in this function)
plug_openssl.c:118: error: parse error before ‘)’ token
plug_openssl.c:118: warning: unused parameter ‘ctx’
plug_openssl.c: In function ‘wrapWHIRLPOOL_Final’:
plug_openssl.c:130: error: ‘WHIRLPOOL_CTX’ undeclared (first use in this function)
plug_openssl.c:130: error: parse error before ‘)’ token
plug_openssl.c: At top level:
plug_openssl.c:153: error: ‘SHA256_CTX’ undeclared here (not in a function)
plug_openssl.c:153: error: parse error before ‘SHA256_CTX’
plug_openssl.c:154: error: parse error before ‘SHA256_CTX’
plug_openssl.c:155: error: ‘SHA512_CTX’ undeclared here (not in a function)
plug_openssl.c:155: error: parse error before ‘SHA512_CTX’
plug_openssl.c:156: error: parse error before ‘SHA512_CTX’
plug_openssl.c:166: error: ‘WHIRLPOOL_CTX’ undeclared here (not in a function)
plug_openssl.c:166: error: parse error before ‘WHIRLPOOL_CTX’

@sevan
Copy link
Collaborator Author

sevan commented Dec 27, 2024

Been trying to work out a way of exercising this behaviour and failed at how to do it directly.
rhash has a --openssl option which is described as Specify hash functions to be calculated using OpenSSL., and should only show in the rhash --help output if runtime linking is supported.
I tested with rhash on a version of Darwin from this decade & I still couldn't get it to work, so... (pebkac?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants