-
Notifications
You must be signed in to change notification settings - Fork 65
Lax parser feature #363
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
Lax parser feature #363
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,6 +90,14 @@ compile_error!( | |
| "feature \"openssl\" and feature \"crypto_nossl\" cannot be enabled at the same time" | ||
| ); | ||
|
|
||
| #[cfg(all( | ||
| any(feature = "openssl", feature = "crypto_nossl"), | ||
| feature = "lax-parser" | ||
| ))] | ||
|
Comment on lines
+93
to
+96
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why would lax-parser be part of this check?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This check is precisely to detect the use of one of the crypto features together with |
||
| compile_error!( | ||
| r#"feature "openssl" and feature "crypto_nossl" cannot be used together with "lax-parser""# | ||
| ); | ||
|
|
||
| /// SEV and SEV-SNP certificates interface. | ||
| pub mod certs; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you have to disable this API for lax-parser?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It encodes
hashstick, which is not supported as it requiresskip_bytes.