=pod =head1 NAME DH_size - get Diffie-Hellman prime size =head1 SYNOPSIS #include int DH_size(DH *dh); =head1 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 DH_compute_key(). Bp> must not be B. =head1 RETURN VALUE The size in bytes. =head1 SEE ALSO L, L =head1 HISTORY DH_size() is available in all versions of SSLeay and OpenSSL. =cut