[openssl-users] Engine NID_sha512

Dave Coombs dcoombs at carillon.ca
Mon Nov 19 14:08:31 UTC 2018


Hi,

>                              if (!digest)
>                              {
>                                                           static int supported_nids[] = {NID_sha256, NID_sha384, NID_sha512, 0};
>                                                           *nids = supported_nids;
>                                                           return 2;
>                              }

I think this should be "return 3", to reflect the number of NIDs you're implementing support for.

  -Dave


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 9617 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20181119/6914b975/attachment.bin>


More information about the openssl-users mailing list