fixed outdated annotations in armor.js

This commit is contained in:
Tom James Holub 2017-07-21 15:39:06 -07:00
parent 10896c2cbf
commit ac055d69d2

View File

@ -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) {