Fixes #174: Lost confgure_requires prereq Crypt::OpenSSL::Guess#179
Fixes #174: Lost confgure_requires prereq Crypt::OpenSSL::Guess#179toddr merged 2 commits intocpan-authors:mainfrom
Conversation
|
@toddr-bot please review |
toddr-bot
left a comment
There was a problem hiding this comment.
Both fixes look correct and straightforward. Two observations:
Commit 1 — CONFIGURE_REQUIRES (#174):
The CONFIGURE_REQUIRES EUMM key is the right fix — META_MERGE.configure_requires only populates distribution metadata but doesn't trigger installation before Makefile.PL runs. EUMM 6.52+ supports CONFIGURE_REQUIRES, and the file already requires 6.64, so no compatibility concern.
Minor style nit: the new block uses double quotes ("CONFIGURE_REQUIRES", "Crypt::OpenSSL::Guess") while the rest of the file uses single quotes. Functionally irrelevant, but worth noting for consistency.
Commit 2 — padding.t skip for "no digest set" (#175):
Good catch. On OpenSSL 3.0.x builds where ripemd160 is unavailable (legacy provider not loaded), the error surfaces as "no digest set" rather than "invalid digest". The regex addition is correct.
However, t/rsa.t:40 has the same invalid digest skip pattern without the no digest set variant:
skip "OpenSSL error: invalid digest - $hash", 5 if $@ =~ /invalid digest/i;In practice, rsa.t is protected by a broader version-based skip (lines 162-164) that skips ripemd160 entirely on OpenSSL 3.0.2–3.0.6. But it's still an inconsistency — if a future OpenSSL version reintroduces ripemd160 partially, rsa.t could hit the same failure. Worth applying the same fix for consistency, or leaving a note that the version-based skip covers it.
LGTM overall — both fixes are correct and minimal.
|
@toddr-bot review again |
PR Review — Fixes #174: Lost confgure_requires prereq Crypt::OpenSSL::GuessBoth fixes are correct and address real issues. The 🟡 Important1. Inconsistent skip regex between rsa.t and padding.t (`t/rsa.t`, L40)The regex here matches 🟢 Suggestions1. Quoting style inconsistency (`Makefile.PL`, L28-30)The new 'CONFIGURE_REQUIRES' => {
'Crypt::OpenSSL::Guess' => 0.11,
},Checklist
SummaryBoth fixes are correct and address real issues. The |
…d for signing with ripemd160'
No description provided.