src/server/config/keyfile.c

changeset 174
8f2a834d1d68
parent 141
ff311b63c3af
child 255
b5d15a4a19f5
--- a/src/server/config/keyfile.c	Tue Feb 14 12:56:23 2017 +0100
+++ b/src/server/config/keyfile.c	Fri Feb 24 11:17:53 2017 +0100
@@ -104,6 +104,10 @@
     
     if(!sstrcmp(hash_type, sstr("SSHA"))) {
         entry->hashtype = KEYFILE_SSHA;
+    } else if(!sstrcmp(hash_type, sstr("SSHA256"))) {
+        entry->hashtype = KEYFILE_SSHA256;
+    } else if(!sstrcmp(hash_type, sstr("SSHA512"))) {
+        entry->hashtype = KEYFILE_SSHA512;
     } else {
         // unkown hash type
         log_ereport(

mercurial