Skip to content

Commit

Permalink
CRYPTOGRAPHY: remove redundant check-types
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed Aug 30, 2019
1 parent 6825e50 commit 25e8b8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cryptography.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

(defun message (path nonce)
"Message composed of (PATH + SHA256(NONCE + POST data)) in octets."
(check-type path (and simple-string (not null)))
(check-type nonce (and simple-string (not null)))
(let ((post-params-data (concatenate 'string nonce "nonce=" nonce)))
(concatenate '(simple-array (unsigned-byte 8) (*))
(map '(simple-array (unsigned-byte 8) (*)) 'char-code path)
Expand Down

0 comments on commit 25e8b8a

Please sign in to comment.