Hi Richard, I am unable to get the API to access bn->top value or any bn members in openssl 1.1.1 . Can you help me with the pointers to those APIs ?
And I dont see "lh_OPENSSL_CSTRING_new " function in "include/openssl/safestack.h" ? Please correct me if I am wrong . Thanks, Priya On Sun, 25 Nov 2018 at 11:56, Richard Levitte <levi...@openssl.org> wrote: > (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 >
-- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users