Skip to content

Add internal STORE functions to fetch PEM data from an opened BIO#2745

Closed
levitte wants to merge 1 commit intoopenssl:masterfrom
levitte:store2-extra-internals
Closed

Add internal STORE functions to fetch PEM data from an opened BIO#2745
levitte wants to merge 1 commit intoopenssl:masterfrom
levitte:store2-extra-internals

Conversation

@levitte
Copy link
Member

@levitte levitte commented Feb 25, 2017

store_attach_pem_bio() creates a STORE_CTX with the 'file' scheme
loader backend in PEM reading mode on an already opened BIO.
store_detach_pem_bio() detaches the STORE_CTX from the BIO and
destroys it (without destroying the BIO).

These two functions can be used in place of STORE_open() and
STORE_close(), and are present as internal support for other OpenSSL
functions.

Base on #3542. Only the last commit actually belong with this PR.

@levitte levitte added the branch: master Applies to master branch label Feb 25, 2017
@levitte levitte self-assigned this Feb 25, 2017
@levitte levitte force-pushed the store2-extra-internals branch 5 times, most recently from 88a9bdc to 98c1dbb Compare March 2, 2017 22:51
@levitte levitte force-pushed the store2-extra-internals branch 2 times, most recently from 816572e to 938c022 Compare March 16, 2017 12:45
@levitte levitte force-pushed the store2-extra-internals branch from 938c022 to fe589c1 Compare April 10, 2017 12:26
@levitte levitte force-pushed the store2-extra-internals branch 4 times, most recently from 4fcef71 to 24732cb Compare May 18, 2017 19:04
@levitte levitte force-pushed the store2-extra-internals branch 4 times, most recently from 31d8102 to 5a7224a Compare May 26, 2017 21:15
@levitte levitte force-pushed the store2-extra-internals branch 3 times, most recently from 785c6b9 to a0d93d0 Compare June 28, 2017 23:59
store_attach_pem_bio() creates a STORE_CTX with the 'file' scheme
loader backend in PEM reading mode on an already opened BIO.
store_detach_pem_bio() detaches the STORE_CTX from the BIO and
destroys it (without destroying the BIO).

These two functions can be used in place of STORE_open() and
STORE_close(), and are present as internal support for other OpenSSL
functions.
@levitte levitte force-pushed the store2-extra-internals branch from a0d93d0 to ed8802c Compare June 29, 2017 10:27
@levitte
Copy link
Member Author

levitte commented Jun 29, 2017

Merged. 4c17819

@levitte levitte closed this Jun 29, 2017
levitte added a commit that referenced this pull request Jun 29, 2017
store_attach_pem_bio() creates a STORE_CTX with the 'file' scheme
loader backend in PEM reading mode on an already opened BIO.
store_detach_pem_bio() detaches the STORE_CTX from the BIO and
destroys it (without destroying the BIO).

These two functions can be used in place of STORE_open() and
STORE_close(), and are present as internal support for other OpenSSL
functions.

Reviewed-by: Matt Caswell <[email protected]>
(Merged from #2745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: master Applies to master branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants