diff options
author | Stuart Stock <stuart@int08h.com> | 2017-07-02 22:42:15 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2017-07-02 22:42:15 -0500 |
commit | d1cadbd16107a63053a9ddd0d2c495a1f385196c (patch) | |
tree | 412775f87eb787aad1da009cb850823710339a38 /src/tag.rs | |
parent | 18f8fba31be0fd1f41632064d1868e9f6a807bd4 (diff) | |
download | roughenough-d1cadbd16107a63053a9ddd0d2c495a1f385196c.zip |
first version of working server
Diffstat (limited to 'src/tag.rs')
-rw-r--r-- | src/tag.rs | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -4,9 +4,21 @@ pub enum Tag { // Enforcement of the "tags in strictly increasing order" rule is done using the // little-endian encoding of the ASCII tag value; e.g. 'SIG\x00' is 0x00474953 and - // 'NONC' is 0x434e4f4e. - - SIG, NONC, DELE, PATH, RADI, PUBK, MIDP, SREP, MINT, ROOT, CERT, MAXT, INDX, PAD + // 'NONC' is 0x434e4f4e. + SIG, + NONC, + DELE, + PATH, + RADI, + PUBK, + MIDP, + SREP, + MINT, + ROOT, + CERT, + MAXT, + INDX, + PAD, } static PAD_VALUE: [u8; 4] = [b'P', b'A', b'D', 0xff]; |