-
Notifications
You must be signed in to change notification settings - Fork 21
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
"Redundant argument in printf" warning on Debug.pm line 98 with perl 5.32 #44
Comments
|
You shouldn't include the "\n" in the format string, otherwise LGTM thanks @timlegge ! With the \n and a certificate as data you output:
without the \n you output the "nicer" (at least for us ASN.1 fanboys):
|
Good point @chrisridd - I changed it to a print in a commit that I will be pushing
soon.
I will make sure the formatting is correct. I am tracking down an issue with the decoding of certificates that are not rsa (i.e. dsa and ecdsa)...
|
timlegge
added a commit
to timlegge/perl-Convert-ASN1
that referenced
this issue
Sep 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I also see this in perl5.28 and perl5.30, but I've not been following perl5 development closely enough to know when this changed or broke.
With
-w
anduse warnings
in effect and Convert::ASN1 version 0.31, calling:Convert::ASN1::asn_dump(*STDOUT, $str);
where $str is a bunch of raw BER, results in an annoying warning every time line 98 is hit:
Redundant argument in printf at /opt/local/lib/perl5/vendor_perl/5.32/Convert/ASN1/Debug.pm line 98, <> line 1. 0000 1294: SEQUENCE {
I see the same (unsurprisingly) using Net::LDAP's
debug(15)
mode.The text was updated successfully, but these errors were encountered: