Fix typo in comment
authorBenjamin Kaduk <bkaduk@akamai.com>
Wed, 13 Sep 2017 19:42:51 +0000 (14:42 -0500)
committerBenjamin Kaduk <bkaduk@akamai.com>
Wed, 13 Sep 2017 19:42:51 +0000 (14:42 -0500)
The peek result is now called 'err', not just 'e'.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4362)

apps/pkey.c

index 06bdaa3..0a3a36a 100644 (file)
@@ -169,7 +169,7 @@ int pkey_main(int argc, char **argv)
             while ((err = ERR_peek_error()) != 0) {
                 BIO_printf(out, "Detailed error: %s\n",
                            ERR_reason_error_string(err));
-                ERR_get_error(); /* remove e from error stack */
+                ERR_get_error(); /* remove err from error stack */
             }
         }
         EVP_PKEY_CTX_free(ctx);