Changeset 679 in openpam for trunk/include


Ignore:
Timestamp:
Mar 18, 2013, 9:38:58 PM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

Clean up and simplify dummy key handling.

Location:
trunk/include/security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/oath.h

    r678 r679  
    4343char *oath_key_to_uri(const struct oath_key *);
    4444
    45 #define DUMMY_LABEL     ("oath-dummy-key")
    46 #define DUMMY_LABELLEN  (sizeof DUMMY_LABEL)
    47 #define DUMMY_KEYLEN    64
    48 
    4945struct oath_key *oath_dummy_key(enum oath_mode, enum oath_hash, unsigned int);
    5046
  • trunk/include/security/oath_constants.h

    r678 r679  
    7777#define OATH_MAX_LABELLEN       64
    7878
     79/*
     80 * Label to use for dummy keys
     81 */
     82#define OATH_DUMMY_LABEL        "oath-dummy-key"
     83
    7984#endif
Note: See TracChangeset for help on using the changeset viewer.