[openssl-dev] Missing EVP_PKEY_meth_get_xxx methods?

Blumenthal, Uri - 0553 - MITLL uri at ll.mit.edu
Mon Oct 2 17:59:32 UTC 2017


Matt and Steve,

Thank you! I indeed fancied creating a PR to add those: https://github.com/openssl/openssl/pull/4452

;-)
--
Regards,
Uri Blumenthal

On 10/2/17, 12:41, "openssl-dev on behalf of Dr. Stephen Henson" <openssl-dev-bounces at openssl.org on behalf of steve at openssl.org> wrote:

    On Mon, Oct 02, 2017, Matt Caswell wrote:
    > 
    > 
    > On 02/10/17 15:00, Blumenthal, Uri - 0553 - MITLL wrote:
    > > Moving to openssl-dev, because I think OpenSSL-1.0.2 needs a fix.
    > > 
    > >  
    > > 
    > > To be more specific, the following get methods are missing in 1.0.2:
    > > 
    > >  
    > > 
    > > - EVP_PKEY_meth_get_sign(EVP_PKEY_METHOD *,  ???)
    > > 
    > > - EVP_PKEY_meth_get_decrypt(EVP_PKEY_METHOD *,  ???)
    > > 
    > > - EVP_PKEY_meth_get_encrypt(EVP_PKEY_METHOD *,  ???)
    > > 
    > >  
    > > 
    > > Note that the corresponding set methods are (thankfully) already present:
    > > 
    > >  
    > > 
    > > - EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *,  ???)
    > > 
    > > - EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *,  ???)
    > > 
    > > - EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *,  ???)
    > > 
    > >  
    > > 
    > > Can I hope that these get methods would be added? Maybe even soon?
    > 
    > Normally we don't add new features/functions to a stable release.
    > However our policy for 1.1.0 (which obviously made lots of structures
    > opaque), is that missing accessors are considered a bug - and we do add
    > those. The situation is less clear for 1.0.2 since most structures are
    > not opaque and we did not make wholesale opacity changes for that release.
    > 
    > If we had a PR to add them it might spur the discussion about whether
    > adding these is valid for 1.0.2 or not to a conclusion!! Fancy creating one?
    > 
    
    Personally I'm in favour of adding these to 1.0.2, that structure has always
    been opaque.
    
    Steve.
    --
    Dr Stephen N. Henson. OpenSSL project core developer.
    Commercial tech support now available see: http://www.openssl.org
    -- 
    openssl-dev mailing list
    To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5211 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20171002/c629502e/attachment.bin>


More information about the openssl-dev mailing list