If all you're callling is DH_generate_key(...) then it should create
different keys. That function call only generates the public and private
keys. What you need to do is:
DH_generate_parameters(...)
transfer the parameters between machines so that they are both working in
the same field
DH_generate_key(...)
the machines swap public keys
DH_compute_key(...)
the output of DH_compute_key on both machines should be identical. If that's
not identical I can help you build the computations from scratch and that
will work (it's not much harder than calling the functions above).
                                Joe

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to