libopenflow_la_SOURCES += \
vconn-ssl.c \
dhparams.c
-dhparams.c: dh512.pem dh1024.pem dh2048.pem dh4096.pem
+dhparams.c: dh2048.pem dh4096.pem
(echo '#include "dhparams.h"' && \
- openssl dhparam -C -in $(srcdir)/dh512.pem -noout && \
- openssl dhparam -C -in $(srcdir)/dh1024.pem -noout && \
openssl dhparam -C -in $(srcdir)/dh2048.pem -noout && \
openssl dhparam -C -in $(srcdir)/dh4096.pem -noout) \
| sed 's/\(get_dh[0-9]*\)()/\1(void)/' > dhparams.c.tmp
+++ /dev/null
------BEGIN DH PARAMETERS-----
-MIGHAoGBAPSI/VhOSdvNILSd5JEHNmszbDgNRR0PfIizHHxbLY7288kjwEPwpVsY
-jY67VYy4XTjTNP18F1dDox0YbN4zISy1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6
-ypUM2Zafq9AKUJsCRtMIPWakXUGfnHy9iUsiGSa6q6Jew1XpL3jHAgEC
------END DH PARAMETERS-----
-
-These are the 1024 bit DH parameters from "Assigned Number for SKIP Protocols"
-(http://www.skip-vpn.org/spec/numbers.html).
-See there for how they were generated.
-Note that g is not a generator, but this is not a problem since p is a safe prime.
+++ /dev/null
------BEGIN DH PARAMETERS-----
-MEYCQQD1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6ypUM2Zafq9AKUJsCRtMIPWak
-XUGfnHy9iUsiGSa6q6Jew1XpKgVfAgEC
------END DH PARAMETERS-----
-
-These are the 512 bit DH parameters from "Assigned Number for SKIP Protocols"
-(http://www.skip-vpn.org/spec/numbers.html).
-See there for how they were generated.
-Note that g is not a generator, but this is not a problem since p is a safe prime.
#include <openssl/dh.h>
-DH *get_dh512(void);
-DH *get_dh1024(void);
DH *get_dh2048(void);
DH *get_dh4096(void);
};
static struct dh dh_table[] = {
- {512, NULL, get_dh512},
- {1024, NULL, get_dh1024},
{2048, NULL, get_dh2048},
{4096, NULL, get_dh4096},
};