(that was Rich responding, not Matt ;-))

There are penty of functions to assign values properly to BIGNUMs
without having to resort to accessing the structure members.  If you
still have reasons to do so, that sounds like you want to modify the
API somehow, and since you do have access to the OpenSSL source,
you're free to do so (and to maintain your own patches).

Cheers,
Richard

In message <CAAiJU8P2TNALbhfYCr-W6qEQXEZ3=rmv2pibwfcck0vo0of...@mail.gmail.com> 
on Sun, 25 Nov 2018 11:05:52 +0530, priya p <priyahere...@gmail.com> said:

> Hi Matt,
> 
> I want to get/set BIGNUM structure members using API like DH getter/setter ?
> 
> Thanks,
> Priya
> 
> On Sun, Nov 25, 2018, 9:32 AM Salz, Rich via openssl-users 
> <openssl-users@openssl.org wrote:
> 
>  * BIGNUM structure also has been made opaque. How to refer the members of 
> BIGNUM
>  structure like bn->top ?
> 
>  You cannot. That is the definition of “opaque structure.” :) Why do you need 
> to access “top” ?
> 
>  * And I don't see this API implementation ""lh_OPENSSL_CSTRING_new" in 
> openssl-1.1.1 ?
> 
>  It is a static inline functions in include/openssl/safestack.h. Because it’s 
> static-inline, it won’t
>  show up unless it is actually used.
> 
>  --
>  openssl-users mailing list
>  To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
> 
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to