doc: fix createDiffieHellman generator type
OpenSSL does not provide a straight-forward way to implement a non-integer generator, so createDiffieHellman
never supported anything other than a number as the generator. (This only applies to the signature where the first argument is the size of the prime, and therefore a number.)
Refs: https://github.com/nodejs/node-v0.x-archive/pull/7086 Refs: https://github.com/nodejs/node/pull/21782
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines