Skip to content

Switch to SHA384_Final()#193

Merged
colmmacc merged 1 commit intoaws:masterfrom
raycoll:master
Feb 1, 2016
Merged

Switch to SHA384_Final()#193
colmmacc merged 1 commit intoaws:masterfrom
raycoll:master

Conversation

@raycoll
Copy link
Copy Markdown
Contributor

@raycoll raycoll commented Jan 31, 2016

This was working previously because the Openssl libcrypto implementation
calls SHA512_Final directly from SHA384_Final. What if this changes?

I don't think the increase in confusion here justifies the decrease
in stack depth.

fixes #157

This was working previously because the Openssl libcrypto implementation
calls SHA512_Final directly from SHA384_Final. What if this changes?

I don't think the increase in confusion here justifies the decrease
in stack depth.

fixes aws#157
@raycoll
Copy link
Copy Markdown
Contributor Author

raycoll commented Feb 1, 2016

Has anyone noticed transient unit test failures?

Running s2n_self_talk_alpn_test.c                          ... FAILED test 64500700
!(((s2n_shutdown(conn, &blocked))) == (-1)) is not true  (s2n_self_talk_alpn_test.c line 360)
Error Message: 's2n_shutdown() called while paused'

I noticed this failure would pop up randomly when I was doing some local development on a previous pull request. Now it appears in the TravisCI build output. Neither this change nor the previous change I was working on should cause this to fail...could be a bug?

@colmmacc
Copy link
Copy Markdown
Contributor

colmmacc commented Feb 1, 2016

I have a fix for this in #192 , where time is now mocked and set explicitly to handle the fact that time is screwy on the travis boxes. Feel free to CR and merge :)

colmmacc added a commit that referenced this pull request Feb 1, 2016
Switch to SHA384_Final()
@colmmacc colmmacc merged commit 5075658 into aws:master Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Isn't it a typo?

3 participants