[openssl-dev] [openssl.org #4590] accessors without const return arguments

2016-08-17 Thread Stephen Henson via RT
On Wed Aug 03 21:13:08 2016, open...@roumenpetrov.info wrote: > > Please update documentation (status of 3.8.2016): > 1) DSA_SIG_new.pod > DSA_SIG_new() allocates and initializes a B structure. > > So now function only allocates signature. > > > 2) ECDSA_SIG_new.pod > ECDSA_SIG_new() allocates a

Re: [openssl-dev] [openssl.org #4590] accessors without const return arguments

2016-08-03 Thread Roumen Petrov via RT
Stephen Henson via RT wrote: > On Sat Jun 25 22:09:59 2016, open...@roumenpetrov.info wrote: >> Above is reason the request to remove const from return argument of get0 >> methods. > We had a discussion about this and the preference was to have get methods > retain const for various reasons. > >

[openssl-dev] [openssl.org #4590] accessors without const return arguments

2016-08-01 Thread Stephen Henson via RT
This has addressed the original issue. If there are any cases for DH/DSA/RSA you feel need addressing please give details in a new ticket. Steve.; -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org -- Ticket here:

[openssl-dev] [openssl.org #4590] accessors without const return arguments

2016-08-01 Thread Richard Levitte via RT
On Fri Jul 22 14:09:12 2016, steve wrote: > On Sat Jun 25 22:09:59 2016, open...@roumenpetrov.info wrote: > > > > Above is reason the request to remove const from return argument of > > get0 > > methods. > > > > We had a discussion about this and the preference was to have get > methods > retain

[openssl-dev] [openssl.org #4590] accessors without const return arguments

2016-07-22 Thread Stephen Henson via RT
On Sat Jun 25 22:09:59 2016, open...@roumenpetrov.info wrote: > > Above is reason the request to remove const from return argument of get0 > methods. > We had a discussion about this and the preference was to have get methods retain const for various reasons. Instead the DSA_SIG/ECDSA_SIG

[openssl-dev] [openssl.org #4590] accessors without const return arguments

2016-06-25 Thread Roumen Petrov via RT
Hello, Recently declaration of a number of get0 methods was changed to return constant values (BIGNUM). Lets me quote description of an allocator "/ECDSA_SIG_new()/ allocates a new *ECDSA_SIG* structure (note: this function also allocates the BIGNUMs) and initialize it." Now lets try to