Doc: Fix typo regarding remote DH key
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
diff --git a/man/keyctl_dh_compute.3 b/man/keyctl_dh_compute.3
index b06d39e..9b1e6fe 100644
--- a/man/keyctl_dh_compute.3
+++ b/man/keyctl_dh_compute.3
@@ -38,7 +38,7 @@
is a key containing the shared generator value, the remote public key is
computed. When
.I base
-is a key containing the remote private key, the shared secret is computed.
+is a key containing the remote public key, the shared secret is computed.
.P
.IR base ", " private ", and " prime
must all refer to