NAME
DHsize - get Diffie-Hellman prime size
SYNOPSIS
#include
int DHsize(DH *dh);DESCRIPTION
This function returns the Diffie-Hellman size in bytes. It can be used
to determine how much memory must be allocated for the shared secret computed by DHcomputekey().ddhh->>pp must not be NNUULLLL.
RREETTUURRNN VVAALLUUEE The size in bytes.SEE ALSO
dh(3), DHgeneratekey(3) HISTORY DHsize() is available in all versions of SSLeay and OpenSSL.0.9.7l 2000-02-24 DHsize(3)