diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-02-24 15:46:05 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-02-24 15:46:05 +0000 |
commit | 23efd99903aeca9bf12476a129e2944c62978bea (patch) | |
tree | 2abeba0a6a00f1f192ba5daa13e6f2014121c1e7 /lib/gnutls_cert.c | |
parent | 5673b9085a7a5daad79609230ab40eac75ac4f7d (diff) | |
download | gnutls-23efd99903aeca9bf12476a129e2944c62978bea.tar.gz |
The Diffie Hellman parameters are now stored in the credentials structures.
This will allow precomputation of signatures (for DHE cipher suites).
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r-- | lib/gnutls_cert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index bd5da3d4c3..b4c86318b7 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -144,6 +144,8 @@ int gnutls_certificate_allocate_sc(GNUTLS_CERTIFICATE_CREDENTIALS * res) if (*res == NULL) return GNUTLS_E_MEMORY_ERROR; + (*res)->dh_params = &_gnutls_dh_default_params; + return 0; } |