diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dh_key.c')
-rw-r--r-- | src/lib/libcrypto/dh/dh_key.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/lib/libcrypto/dh/dh_key.c b/src/lib/libcrypto/dh/dh_key.c index 9596270f7d..91352a9fbf 100644 --- a/src/lib/libcrypto/dh/dh_key.c +++ b/src/lib/libcrypto/dh/dh_key.c | |||
@@ -82,15 +82,12 @@ int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) | |||
82 | } | 82 | } |
83 | 83 | ||
84 | static DH_METHOD dh_ossl = { | 84 | static DH_METHOD dh_ossl = { |
85 | "OpenSSL DH Method", | 85 | .name = "OpenSSL DH Method", |
86 | generate_key, | 86 | .generate_key = generate_key, |
87 | compute_key, | 87 | .compute_key = compute_key, |
88 | dh_bn_mod_exp, | 88 | .bn_mod_exp = dh_bn_mod_exp, |
89 | dh_init, | 89 | .init = dh_init, |
90 | dh_finish, | 90 | .finish = dh_finish, |
91 | 0, | ||
92 | NULL, | ||
93 | NULL | ||
94 | }; | 91 | }; |
95 | 92 | ||
96 | const DH_METHOD *DH_OpenSSL(void) | 93 | const DH_METHOD *DH_OpenSSL(void) |