Permalink
Switch branches/tags
Nothing to show
Commits on Nov 24, 2018
Commits on Nov 3, 2018
  1. Merge pull request #57 from JamePeng/update-get_key_revision_summary

    SciresM committed Nov 3, 2018
    update function get_key_revision_summary for 6.0.0
  2. Merge pull request #53 from lioncash/const

    SciresM committed Nov 3, 2018
    Resolve remaining -Wdiscarded-qualifiers warnings
  3. Merge pull request #54 from roblabla/master

    SciresM committed Nov 3, 2018
    Stop using duplicate keys
Commits on Oct 18, 2018
Commits on Sep 29, 2018
  1. Avoid duplicate keys in service_access

    roblabla committed Sep 29, 2018
    Splits service_access into service_host and service_access, both arrays of
    string.
Commits on Sep 24, 2018
Commits on Sep 2, 2018
  1. hfs0: Resolve -Wdiscarded-qualifier warnings

    lioncash committed Sep 2, 2018
    name is only ever assigned via string literals, which can cause
    warnings, as string literals have a const qualifier associated with
    them. This is only ever used for information display in console
    printouts, so this is a safe change to make.
  2. npdm: Resolve -Wdiscarded-qualifiers warnings

    lioncash committed Sep 2, 2018
    Like with 52486c1, these functions'
    return types was char*, which casts away the constness of the string
    literals.
  3. nca: Resolve -Wdiscarded-qualifiers warnings

    lioncash committed Sep 2, 2018
    String literals are always const char arrays of N length (where N is the
    number of characters plus the null terminator), given a few functions
    were returning by char*, they were casting the const qualifier away,
    causing warnings.
    
    This is a safe change, as these are only used with logging functions.
Commits on Aug 17, 2018
  1. Merge pull request #43 from lioncash/func

    SciresM committed Aug 17, 2018
    Mark identifiers as internally linked where appropriate
  2. Merge pull request #45 from lioncash/const

    SciresM committed Aug 17, 2018
    main, npdm: Make parameters/members const where applicable
  3. Merge pull request #46 from aveao/patch-1

    SciresM committed Aug 17, 2018
    Fix a markdown error on README.md
Commits on Aug 13, 2018
Commits on Aug 12, 2018
  1. main, npdm: Make parameters/members const where applicable

    lioncash committed Aug 12, 2018
    The data pointed to isn't modified and in the case of char*, resolves
    -Wdiscarded-qualifiers warnings, as string literals are const char* and
    are used with the relevant functions.
  2. Merge pull request #44 from lioncash/cast

    SciresM committed Aug 12, 2018
    aes, utils: Avoid casting away const
  3. aes, utils: Avoid casting away const

    lioncash committed Aug 12, 2018
    Gets rid of -Wcast-qual warnings.
  4. Mark identifiers as internally linked where appropriate

    lioncash committed Aug 12, 2018
    Makes it more obvious which parts are only used within the translation
    unit, and which functions are part of the exposed interface in the
    headers (and also has the benefit of allowing better
    inlining/optimizing)
  5. Merge pull request #42 from lioncash/leak

    SciresM committed Aug 12, 2018
    kip, nax0, npdm: Minor build and API fixes
  6. nax0: Add missing semicolon to return in nax0_save()

    lioncash committed Aug 12, 2018
    This slipped through before I was able to amend it in the PR.
  7. kip, npdm: Prevent const qualifier discarding warnings from occurring

    lioncash committed Aug 12, 2018
    Given this is an allocated buffer that the caller needs to deal with,
    the return type being const causes warnings when passing to free.
  8. Merge pull request #41 from lioncash/leak

    SciresM committed Aug 12, 2018
    Fix a few minor memory leaks
  9. Merge pull request #40 from lioncash/memset

    SciresM committed Aug 12, 2018
    extkeys: Correct memset zeroing in extkeys_initialize_keyset()
  10. Merge pull request #39 from lioncash/conjunc

    SciresM committed Aug 12, 2018
    extkeys: Correct logical ANDs in get_kv()
  11. npdm: Free JSON buffer when done with it in npdm_save()

    lioncash committed Aug 12, 2018
    It's the caller's responsibility to free the buffer returned by cJSON,
    so we do that here to avoid a leak.
  12. npdm: Invert top-level conditional within ndpm_save()

    lioncash committed Aug 12, 2018
    Allows for denesting of the code.
  13. nax0: Close file descriptor in nax0_save() when done with it

    lioncash committed Aug 12, 2018
    Avoids a resource leak.
  14. nax0: Invert conditionals within nax0_save()

    lioncash committed Aug 12, 2018
    Allows unindenting most of the code within the function to be nicer to
    follow.
  15. kip: Fix memory leaks within kip1_save()

    lioncash committed Aug 12, 2018
    Just two minor leaks that can be amended.
  16. extkeys: Correct memset zeroing in extkeys_initialize_keyset()

    lioncash committed Aug 12, 2018
    sizeof(100) will evaluate to 4, so this wasn't zeroing out the whole
    array (which is likely what was intended here). Instead, we can use a
    braced initializer to perform the desirable behavior here.
  17. extkeys: Correct logical ANDs in get_kv()

    lioncash committed Aug 12, 2018
    These two expressions would always be false as both sides of the
    expression would never be satisfied at the same time.