src/server/config/keyfile.c

changeset 174
8f2a834d1d68
parent 141
ff311b63c3af
child 255
b5d15a4a19f5
equal deleted inserted replaced
171:af7e2d80dee6 174:8f2a834d1d68
102 } 102 }
103 } 103 }
104 104
105 if(!sstrcmp(hash_type, sstr("SSHA"))) { 105 if(!sstrcmp(hash_type, sstr("SSHA"))) {
106 entry->hashtype = KEYFILE_SSHA; 106 entry->hashtype = KEYFILE_SSHA;
107 } else if(!sstrcmp(hash_type, sstr("SSHA256"))) {
108 entry->hashtype = KEYFILE_SSHA256;
109 } else if(!sstrcmp(hash_type, sstr("SSHA512"))) {
110 entry->hashtype = KEYFILE_SSHA512;
107 } else { 111 } else {
108 // unkown hash type 112 // unkown hash type
109 log_ereport( 113 log_ereport(
110 LOG_FAILURE, 114 LOG_FAILURE,
111 "keyfile_parse: unknown hash type: %s", 115 "keyfile_parse: unknown hash type: %s",

mercurial