diff --git a/docs/scripting.xml b/docs/scripting.xml
index 58e9512d5..00543e958 100644
--- a/docs/scripting.xml
+++ b/docs/scripting.xml
@@ -1355,7 +1355,7 @@ if(s) code_to_be_done_on_match end
Returns the digest of message
using the algorithm given by the string
algorithm. The algorithm name may be
- anything recognized by the
+ anything returned by the
openssl.supported_digests
function.
@@ -1367,7 +1367,7 @@ if(s) code_to_be_done_on_match end
Returns the message authentication code of
message using the given algorithm and
key. algorithm may be anything
- recognized by the
+ returned by the
openssl.supported_digests
function.