Skip to content

Speed up process for loading large CRLs#10

Merged
opencrypto merged 1 commit intoopenca:masterfrom
a157634:libpki-b4
Sep 19, 2016
Merged

Speed up process for loading large CRLs#10
opencrypto merged 1 commit intoopenca:masterfrom
a157634:libpki-b4

Conversation

@a157634
Copy link
Contributor

@a157634 a157634 commented May 9, 2015

Introduced r/o memory BIO for __get_data_callback().
The privously used r/w memory BIO is very slow in loading large CRLs.
The usage of a r/o memory BIO speeds up the process for loading such large files.
See also https://www.openssl.org/docs/crypto/BIO_s_mem.html#notes

Furthermore fixed:

  • Fix memory leak in PKI_X509_STACK_get_mem()
  • Code cleanup of unused variable in PKI_X509_put_mem_value()

Introduced r/o memory BIO for __get_data_callback().
The privously used r/w memory BIO is very slow in loading large CRLs.
The usage of a r/o memory BIO speeds up the process for loading such large files.
See also https://www.openssl.org/docs/crypto/BIO_s_mem.html#notes
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