[openssl-dev] Call for testing: OpenSSH 7.2

The Doctor doctor at doctor.nl2k.ab.ca
Tue Feb 16 15:48:56 UTC 2016


On Tue, Feb 16, 2016 at 02:52:51AM +0000, Dr. Stephen Henson wrote:
> On Mon, Feb 15, 2016, The Doctor wrote:
> 
> > Just tested this on the old BSD/OS machine
> > 
> > works with openssl 1.0.2X
> > 
> > Openssl 1.1.X  issues
> > 
> > cipher.h  in openssl 1.1  needs to read
> > 
> > struct sshcipher;
> > struct sshcipher_ctx {
> >         int     plaintext;
> >         int     encrypt;
> >         struct evp_cipher_ctx_st *evp;
> >         struct chachapoly_ctx cp_ctx; /* XXX union with evp? */
> >         struct aesctr_ctx ac_ctx; /* XXX union with evp? */
> >         const struct sshcipher *cipher;
> > };
> >    
> > 
> > I am running into issues with sshkey.c
> > 
> > 
> > line 3787  
> > 
> >   if (pk->type == EVP_PKEY_RSA &&
> > 
> > line 3802
> > 
> >       } else if (pk->type == EVP_PKEY_DSA &&
> > 
> > line 3814
> > 
> > } else if (pk->type == EVP_PKEY_EC &&
> > 
> > Now  
> > 
> >   EVP_PKEY *pk = NULL;
> > 
> 
> The EVP_PKEY structure is now opaque and so you need to call the accessor
> function EVP_PKEY_id(pk) instead. That function exists in OpenSSL 1.0 and
> later though not 0.9.8.
> 
> Steve.

So how exactly would you rewrite

EVP_PKEY *pk = NULL;

?


> --
> 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

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Broadcasting the truth for 25 years


More information about the openssl-dev mailing list