Fixed typo in enc.c warning
authorx753 <PrimaryInfinity@gmail.com>
Fri, 29 Mar 2019 01:31:36 +0000 (21:31 -0400)
committerPauli <paul.dale@oracle.com>
Sun, 31 Mar 2019 22:46:33 +0000 (08:46 +1000)
"warning: iv not use by this cipher" -> "warning: iv not used by this cipher"
CLA: trivial

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8608)

(cherry picked from commit 9c119bc6b54f4851898134db28c2a01947b5efba)

apps/enc.c

index 8e5a57d3e5d74d72410a68cef3445641aad48191..012d6c83828853bc93be73a22305534ba5bae673 100644 (file)
@@ -500,7 +500,7 @@ int enc_main(int argc, char **argv)
         if (hiv != NULL) {
             int siz = EVP_CIPHER_iv_length(cipher);
             if (siz == 0) {
-                BIO_printf(bio_err, "warning: iv not use by this cipher\n");
+                BIO_printf(bio_err, "warning: iv not used by this cipher\n");
             } else if (!set_hex(hiv, iv, siz)) {
                 BIO_printf(bio_err, "invalid hex iv value\n");
                 goto end;