From ac055d69d2c60988f14b2f233958491b3399bae1 Mon Sep 17 00:00:00 2001 From: Tom James Holub Date: Fri, 21 Jul 2017 15:39:06 -0700 Subject: [PATCH] fixed outdated annotations in armor.js --- src/encoding/armor.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/encoding/armor.js b/src/encoding/armor.js index 14909608..1a6f0c04 100644 --- a/src/encoding/armor.js +++ b/src/encoding/armor.js @@ -191,8 +191,7 @@ function createcrc24(input) { /** * Splits a message into two parts, the headers and the body. This is an internal function * @param {String} text OpenPGP armored message part - * @returns {(Boolean|Object)} Either false in case of an error - * or an object with attribute "headers" containing the headers and + * @returns {Object} An object with attribute "headers" containing the headers * and an attribute "body" containing the body. */ function splitHeaders(text) { @@ -234,8 +233,7 @@ function verifyHeaders(headers) { /** * Splits a message into two parts, the body and the checksum. This is an internal function * @param {String} text OpenPGP armored message part - * @returns {(Boolean|Object)} Either false in case of an error - * or an object with attribute "body" containing the body + * @returns {Object} An object with attribute "body" containing the body * and an attribute "checksum" containing the checksum. */ function splitChecksum(text) {