Skip to content

DRBG: fix coverity issues#5976

Closed
mspncp wants to merge 2 commits intoopenssl:masterfrom
mspncp:pr-fix-drbg-coverity-issues
Closed

DRBG: fix coverity issues#5976
mspncp wants to merge 2 commits intoopenssl:masterfrom
mspncp:pr-fix-drbg-coverity-issues

Conversation

@mspncp
Copy link
Contributor

@mspncp mspncp commented Apr 17, 2018

[extended tests]
(Note: This label will be removed when merging.)

  • drbg_lib.c: Silence coverity warning: the comment preceding the
    RAND_DRBG_instantiate() call explicitely states that the error
    is ignored and explains the reason why.

  • drbgtest: Add checks for the return values of RAND_bytes() and
    RAND_priv_bytes() to run_multi_thread_test().

Checklist
  • tests are added or updated

[extended tests]

- drbg_lib.c: Silence coverity warning: the comment preceding the
  RAND_DRBG_instantiate() call explicitely states that the error
  is ignored and explains the reason why.

- drbgtest: Add checks for the return values of RAND_bytes() and
  RAND_priv_bytes() to run_multi_thread_test().
@mspncp
Copy link
Contributor Author

mspncp commented Apr 17, 2018

@mspncp mspncp self-assigned this Apr 17, 2018
@mspncp mspncp added the approval: done This pull request has the required number of approvals label Apr 17, 2018
Fixed a typo on-the-fly.
levitte pushed a commit that referenced this pull request Apr 17, 2018
- drbg_lib.c: Silence coverity warning: the comment preceding the
  RAND_DRBG_instantiate() call explicitely states that the error
  is ignored and explains the reason why.

- drbgtest: Add checks for the return values of RAND_bytes() and
  RAND_priv_bytes() to run_multi_thread_test().

Reviewed-by: Richard Levitte <[email protected]>
(Merged from #5976)
@mspncp
Copy link
Contributor Author

mspncp commented Apr 17, 2018

Merged, thanks!

@mspncp mspncp closed this Apr 17, 2018
@mspncp mspncp deleted the pr-fix-drbg-coverity-issues branch April 17, 2018 15:33
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.

2 participants