Function: smime-call-openssl-region
smime-call-openssl-region is a byte-compiled function defined in
smime.el.gz.
Signature
(smime-call-openssl-region B E BUF &rest ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/smime.el.gz
;; OpenSSL wrappers.
(defun smime-call-openssl-region (b e buf &rest args)
(pcase (apply #'call-process-region b e smime-openssl-program nil buf nil args)
(0 t)
(1 (message "OpenSSL: An error occurred parsing the command options.") nil)
(2 (message "OpenSSL: One of the input files could not be read.") nil)
(3 (message "OpenSSL: An error occurred creating the PKCS#7 file or when reading the MIME message.") nil)
(4 (message "OpenSSL: An error occurred decrypting or verifying the message.") nil)
(_ (error "Unknown OpenSSL exitcode"))))