Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10828: Boost asio ssl: password callback not called if private key passed with context::use_private_key
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-30 22:38:53
#10828: Boost asio ssl: password callback not called if private key passed with
context::use_private_key
-------------------------------------+-------------------------------------
Reporter: Paolo Brandoli | Owner: chris_kohlhoff
<paolo.brandoli@â¦> | Status: new
Type: Bugs | Component: asio
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.54.0 | Keywords: ssl, openss. private
Resolution: | key, callback, password
-------------------------------------+-------------------------------------
Comment (by bugs@â¦):
As a point of interested, I've already tested that the intended behaviour
is achieved when adding the callback like so:
{{{
evp_private_key.p = ::PEM_read_bio_PrivateKey(bio.p, 0, 0, 0);
}}}
to
{{{
evp_private_key.p = ::PEM_read_bio_PrivateKey(bio.p, 0,
handle_->default_passwd_callback,
handle_->default_passwd_callback_userdata);
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10828#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC