Files
openflow/lib/dhparams.h
T
Ben Pfaff 5f9a684de5 Add 1024-bit Diffie-Hellman parameters to vconn-ssl.
1024-bit Diffie-Hellman is somewhat weak, but I haven't been able to
figure out how to make OpenSSL use longer Diffie-Hellman keys than that.
If this isn't available, OpenSSL doesn't let connections proceed.

This change should be reverted when we figure out how to make OpenSSL
use longer Diffie-Hellman keys.
2008-03-27 17:50:33 -07:00

11 lines
157 B
C

#ifndef DHPARAMS_H
#define DHPARAMS_H 1
#include <openssl/dh.h>
DH *get_dh1024(void);
DH *get_dh2048(void);
DH *get_dh4096(void);
#endif /* dhparams.h */