From 2f09a2946403782c5b2418103deb4c964810ca1e Mon Sep 17 00:00:00 2001
From: daurnimator <quae@daurnimator.com>
Date: Thu, 31 Aug 2017 00:59:11 +1000
Subject: Use 'generator' parameter for picking generator for DH keys (rather
 than 'exp'). Change default value to 2.

2 is the default generator for openssl; the number is a mostly arbitrary choice, and smaller values are faster.
---
 doc/luaossl.tex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'doc/luaossl.tex')

diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 7bb85df..5ac7761 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -284,7 +284,9 @@ field & type:default & description\\\hline
 
 .bits & number:1024 & private key size \\
 
-.exp & number:65537 & RSA or Diffie-Hellman exponent \\
+.exp & number:65537 & RSA exponent \\
+
+.generator & number:2 & Diffie-Hellman generator \\
 
 .dhparam & string & PEM encoded string with precomputed DH parameters \\
 
-- 
cgit v1.2.3-55-g6feb

