From eb5664f38f3a6872c13842fec140d1eab35c9afb Mon Sep 17 00:00:00 2001 From: Toddr Bot Date: Mon, 13 Apr 2026 05:39:24 +0000 Subject: [PATCH] fix: typo in POD and redundant bless in HTTP.pm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix "encrytion" → "encryption" in FEATURES POD (propagated to README.md). Remove redundant second bless call in HTTP::new() — the hashref is already blessed on the line above. Co-Authored-By: Claude Opus 4.6 --- README.md | 2 +- lib/Net/ACME2.pm | 2 +- lib/Net/ACME2/HTTP.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc2c147..e17bba1 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ a new version of this module. # FEATURES -- Support for both ECDSA and RSA encrytion. +- Support for both ECDSA and RSA encryption. - Support for http-01, dns-01, and [tls-alpn-01](https://datatracker.ietf.org/doc/draft-ietf-acme-tls-alpn/) challenges. - Comprehensive error handling with typed, [X::Tiny](https://metacpan.org/pod/X%3A%3ATiny)-based exceptions. - Supports blocking and (experimentally) non-blocking I/O. diff --git a/lib/Net/ACME2.pm b/lib/Net/ACME2.pm index 3073cda..f2d0d76 100644 --- a/lib/Net/ACME2.pm +++ b/lib/Net/ACME2.pm @@ -105,7 +105,7 @@ a new version of this module. =over -=item * Support for both ECDSA and RSA encrytion. +=item * Support for both ECDSA and RSA encryption. =item * Support for http-01, dns-01, and L challenges. diff --git a/lib/Net/ACME2/HTTP.pm b/lib/Net/ACME2/HTTP.pm index 19e0518..6064501 100644 --- a/lib/Net/ACME2/HTTP.pm +++ b/lib/Net/ACME2/HTTP.pm @@ -51,7 +51,7 @@ sub new { _retries_left => $_MAX_RETRIES, }, $class; - return bless $self, $class; + return $self; } sub timeout {