Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@enricovittorini
Copy link

Add a check for false on private indicator:
private_indicator – This is a 1-bit flag that shall be set to 0.

enricovittorini and others added 7 commits August 14, 2023 12:16
Add a check for false on private indicator:
private_indicator – This is a 1-bit flag that shall be set to 0.
added a check on protocol version
protocol_version: @ present, this attribute shall be set to 0.
Copy link
Owner

@futzu futzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

futzu/threefive#88 is an example of what I'm talking about with people using custom identifiers.

infosec.Private = bd.asFlag()
if infosec.Private {
return false
}
Copy link
Owner

@futzu futzu Aug 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct, as far as the specification goes, but this gets us nothing, I've never seen this value used, and that's why Intentionally don't check it.

Copy link
Owner

@futzu futzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about instead of returning false, print a warning message to stderr.

Copy link
Owner

@futzu futzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about instead of returning false, print a warning message to stderr.

Copy link
Owner

@futzu futzu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@futzu
Copy link
Owner

futzu commented Aug 26, 2023

helloooooo

@enricovittorini
Copy link
Author

Agree let's do it as warning

@futzu
Copy link
Owner

futzu commented Sep 11, 2023

Are you going to give me an update with the warnings?
You already did all the work, update it and I'll merge it.
Jjust change log.Fatal to something like log.Print...... they need a log.Warn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants