Skip to content

Conversation

@richsalz
Copy link
Contributor

@richsalz richsalz commented Dec 8, 2017

This is #4872 for 1.1.0

@richsalz richsalz added 1.1.0 approval: review pending This pull request needs review by a committer labels Dec 8, 2017
@richsalz richsalz self-assigned this Dec 8, 2017
Copy link
Contributor

Choose a reason for hiding this comment

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

While you're at it, why not remove space prior &sin?

Copy link
Member

Choose a reason for hiding this comment

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

There's more space cleanup to do in that particular file. Might almost be worth a PR of its own...

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, that's what I already suggested in #4875 :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above...

Copy link
Contributor

Choose a reason for hiding this comment

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

Jagged comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I fixed this the same way I did in master (put it on previous line) and pushed and updated commit. I tend to do "feature-creep" PR's and @levitte tends to call me out on them, so this is just fixing sizeof syntax.

Copy link
Contributor

Choose a reason for hiding this comment

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

You killing me, man. You know I don't have no magic coin, so with no separate fixup commit I have to start over...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll try to do better in the future.

Copy link
Member

Choose a reason for hiding this comment

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

I actually didn't catch that in master, sorry.

I agree that the indentation should be corrected... and maybe you and I should talk, 'cause it seems we have different ideas of what constitutes "feature creep"

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I generally agree with levitte about feature creep, with the justification that for this sort of sweeping change, it may actually be easier to review by having an independent implementation of the change and comparing the implementations -- the human eye tires too easily looking at a long stream of "the same" change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The indentation in master is fixed, the same way fixed here, by putting the entire comment on the line above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As for the "feature creep" comment, I was trying more for lighthearted self-deprecation.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, ok... sorry, tired day today, didn't catch the lightheartedness (obviously)

test/exptest.c Outdated
RAND_seed(rnd_seed, sizeof rnd_seed); /* or BN_rand may fail, and we
RAND_seed(rnd_seed, sizeof(rnd_seed)); /* or BN_rand may fail, and we
* don't even check its return
* value (which we should) */
Copy link
Contributor

Choose a reason for hiding this comment

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

I did refer to it in #4875...

@richsalz
Copy link
Contributor Author

richsalz commented Dec 8, 2017

additional commit pushed, to be squashed, that fixes the comment that i missed.

Copy link
Contributor

@dot-asm dot-asm left a comment

Choose a reason for hiding this comment

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

There is no reason to believe that CI would fail, hence approved.

@dot-asm dot-asm added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Dec 8, 2017
levitte pushed a commit that referenced this pull request Dec 8, 2017
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from #4876)
@richsalz
Copy link
Contributor Author

richsalz commented Dec 8, 2017

Thanks!

@richsalz richsalz closed this Dec 8, 2017
@richsalz richsalz deleted the sizeof-for-110 branch December 8, 2017 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants