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