[openssl-dev] Openssl 1.1 and Bind 9.6 ESV R11

Salz, Rich rsalz at akamai.com
Wed Jan 20 02:43:48 UTC 2016


> static BIGNUM bn2, bn768, bn1024, bn1536;

The BIGNUM structure is now opaque.  These must be pointers.

>                 BN_init(&bn2);

BN_new()

>                 BN_init(&bn768);
>                 BN_init(&bn1024);
>                 BN_init(&bn1536);
>                 BN_set_word(&bn2, 2);
>                 BN_fromhex(&bn768, PRIME768);
>                 BN_fromhex(&bn1024, PRIME1024);
>                 BN_fromhex(&bn1536, PRIME1536);

Pointers.



More information about the openssl-dev mailing list