author J.C. Jones <jjones@mozilla.com>
Thu, 28 Sep 2017 16:04:10 -0700
changeset 434488 cfde20f68c1fa8cfdb09fc8d3dc996a3f9a94b3e
parent 371439 2e262535fc7358975b86240798c75cf624f39870
permissions -rw-r--r--
Bug 1403279 - Set U2F version field on RegisterResponse. r=keeler, a=sledru The U2F specification defines the RegisterResponse.Version field as being set to "U2F_V2" [1] on successful registrations, which we appear to have overlooked. This sets the field and adds a few checks to the register test. [1] https://www.fidoalliance.org/specs/fido-u2f-v1.1-id-20160915/fido-u2f-javascript-api-v1.1-id-20160915.html#idl-def-RegisterResponse MozReview-Commit-ID: 9YqhM0x9itd

# Checks run by clang-tidy over Mozilla code.

# The following checks are currently enabled:
# * modernize-raw-string-literal -
#     Replace string literals containing escaped characters with raw string literals
# * modernize-use-bool-literals
#     Replace integer literals which are cast to bool
# * modernize-loop-convert
#     Converts for(...; ...; ...) loops to use the new range-based loops in C++11
# * modernize-use-default
#     Replace default bodies of special member functions with = default;
# * modernize-use-override
#     Use C++11's override and remove virtual where applicable

Checks:          '-*, modernize-raw-string-literal, modernize-use-bool-literals, modernize-loop-convert, modernize-use-default, modernize-use-override'