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
This closure only allows returning errors of type der::Error. However, the closure's sole argument is an x509_cert::builder::CertificateBuilder, the methods for which (in particular CertificateBuilder::add_extension) all return x509_cert::builder::Error. The latter contains der::Error as a sub-error, but we can't represent all of the builder's errors in that.
The extensions closure in Certificate::generate_self_signed should be changed to return Result<_, x509_cert::builder::Error> instead of der::Result.
The text was updated successfully, but these errors were encountered:
yubikey.rs/src/certificate.rs
Lines 109 to 112 in 0a90dc3
This closure only allows returning errors of type
der::Error
. However, the closure's sole argument is anx509_cert::builder::CertificateBuilder
, the methods for which (in particularCertificateBuilder::add_extension
) all returnx509_cert::builder::Error
. The latter containsder::Error
as a sub-error, but we can't represent all of the builder's errors in that.The
extensions
closure inCertificate::generate_self_signed
should be changed to returnResult<_, x509_cert::builder::Error>
instead ofder::Result
.The text was updated successfully, but these errors were encountered: