[openssl-users] openssl 1.1.1 opaque structures

priya p priyahere223 at gmail.com
Mon Nov 26 05:45:27 UTC 2018


I am trying to fix this part of code:

 int Func1 (var, bn) {
*var = rc_vmalloc(bn->top * BN_BYTES); ------------------> Trying to fix
this. Error it throws is " error: dereferencing pointer to incomplete type".

 (*var)->l = BN_bn2bin(bn, (unsigned char *)(*var)->v);
.
.
}

Thanks,
Priya


On Mon, 26 Nov 2018 at 11:06, Viktor Dukhovni <openssl-users at dukhovni.org>
wrote:

> > On Nov 26, 2018, at 12:14 AM, priya p <priyahere223 at gmail.com> wrote:
> >
> > 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 ?
>
> What actual problem are you trying to solve?  Accessing bn->top is
> a goal in itself.
>
> --
>         Viktor.
>
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20181126/d42ea0d1/attachment-0001.html>


More information about the openssl-users mailing list