Changeset 817 in openpam


Ignore:
Timestamp:
Oct 8, 2014, 10:58:11 AM (6 years ago)
Author:
Dag-Erling Smørgrav
Message:

Remove superfluous comments and blank lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/oathkey/oathkey.c

    r799 r817  
    123123                return (RET_USAGE);
    124124        (void)argv;
    125 
    126         /* don't let users generate keys for eachother */
    127125        if (!isroot && !issameuser)
    128126                return (RET_UNAUTH);
    129 
    130127        if ((key = oath_key_create(user, om_totp, oh_undef, NULL, 0)) == NULL)
    131128                return (RET_ERROR);
     
    148145                return (RET_USAGE);
    149146        (void)argv;
    150 
    151         /* don't let users set eachother's keys */
    152147        if (!isroot && !issameuser)
    153148                return (RET_UNAUTH);
    154 
    155149        if ((key = oath_key_from_uri(argv[0])) == NULL)
    156150                return (RET_ERROR);
     
    172166                return (RET_USAGE);
    173167        (void)argv;
    174 
    175         /* don't let users see eachother's keys */
    176168        if (!isroot && !issameuser)
    177169                return (RET_UNAUTH);
    178 
    179170        if ((key = oath_key_from_file(keyfile)) == NULL)
    180171                return (RET_ERROR);
Note: See TracChangeset for help on using the changeset viewer.