Archived

This forum has been archived. Please start a new discussion on GitHub.

IceSSL::PublicKey key() member accessibility

I'm using Ice 3.2.1 version, in file include/IceSSL/Plugin.h line 124:

class ICE_SSL_API PublicKey : public IceUtil::Shared
{
~PublicKey();

EVP_PKEY* key() const;

private:

PublicKey(EVP_PKEY*);
friend class Certificate;

EVP_PKEY* _key;
};

I'm wondering if a "public" access specifier is missing at the beginning of class declaration.
This cause will be usefull to access at the key() member from the outside.

Comments

  • matthew
    matthew NL, Canada
    That looks like an oversight (or perhaps a slip of the delete button!). Thanks for pointing that out.