summaryrefslogtreecommitdiff
path: root/lib/gnutls_pk.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-20 19:04:43 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-27 11:41:43 +0100
commit561a2dfe7433b322ccf608786c753c9071e150d4 (patch)
treeb7f1e0e5ff5065a16613a447b35d7853d5fc7876 /lib/gnutls_pk.h
parent91371f925be73cfb1ecb130efbe16ed17cd64f87 (diff)
downloadgnutls-561a2dfe7433b322ccf608786c753c9071e150d4.tar.gz
Separated pk_generate to pk_generate_params() and pk_generate_keys().
This allows using the pk_generate interface to get DH parameters and DH keys.
Diffstat (limited to 'lib/gnutls_pk.h')
-rw-r--r--lib/gnutls_pk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_pk.h b/lib/gnutls_pk.h
index 22ff54a08d..46eb3d4f7a 100644
--- a/lib/gnutls_pk.h
+++ b/lib/gnutls_pk.h
@@ -32,7 +32,8 @@ extern gnutls_crypto_pk_st _gnutls_pk_ops;
#define _gnutls_pk_verify( algo, data, sig, params) _gnutls_pk_ops.verify( algo, data, sig, params)
#define _gnutls_pk_verify_params( algo, params) _gnutls_pk_ops.verify_params( algo, params)
#define _gnutls_pk_derive( algo, out, pub, priv) _gnutls_pk_ops.derive( algo, out, pub, priv)
-#define _gnutls_pk_generate( algo, bits, priv) _gnutls_pk_ops.generate( algo, bits, priv)
+#define _gnutls_pk_generate_keys( algo, bits, priv) _gnutls_pk_ops.generate_keys( algo, bits, priv)
+#define _gnutls_pk_generate_params( algo, bits, priv) _gnutls_pk_ops.generate_params( algo, bits, priv)
#define _gnutls_pk_hash_algorithm( pk, sig, params, hash) _gnutls_pk_ops.hash_algorithm(pk, sig, params, hash)
inline static int