Skip to content

Commit e09a424

Browse files
author
Fredrik Axelsson
committed
Minor
1 parent 7357808 commit e09a424

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

x509-mode.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -618,12 +618,12 @@ Return output buffer."
618618
(coding-system-for-write 'no-conversion))
619619
(apply #'call-process-region args))
620620
(apply #'call-process-region args)))
621-
(goto-char (point-min))
622621
;; Since OpenSSL 3, there is a warning when reading input from stdin and
623-
;; not from file specified by an -in parameter. Delete that warning line
624-
;; from the output. "Warning: Reading certificate from stdin since no -in
625-
;; or -new option is given"
626-
(if (looking-at "Warning: Reading ")
622+
;; not from a file specified by an -in parameter. Delete that warning
623+
;; line from the output. "Warning: Reading certificate from stdin since
624+
;; no -in or -new option is given"
625+
(goto-char (point-min))
626+
(if (looking-at-p "Warning: Reading ")
627627
(delete-line))
628628
(set-buffer-modified-p nil)
629629
(setq buffer-read-only t))

0 commit comments

Comments
 (0)