=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.c,v retrieving revision 1.355 retrieving revision 1.356 diff -u -r1.355 -r1.356 --- src/usr.bin/ssh/servconf.c 2019/12/15 18:57:30 1.355 +++ src/usr.bin/ssh/servconf.c 2019/12/15 20:57:15 1.356 @@ -1,5 +1,5 @@ -/* $OpenBSD: servconf.c,v 1.355 2019/12/15 18:57:30 djm Exp $ */ +/* $OpenBSD: servconf.c,v 1.356 2019/12/15 20:57:15 djm Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved @@ -1969,7 +1969,18 @@ case sSecurityKeyProvider: charptr = &options->sk_provider; - goto parse_filename; + arg = strdelim(&cp); + if (!arg || *arg == '\0') + fatal("%s line %d: missing file name.", + filename, linenum); + if (*activep && *charptr == NULL) { + *charptr = strcasecmp(arg, "internal") == 0 ? + xstrdup(arg) : derelativise_path(arg); + /* increase optional counter */ + if (intptr != NULL) + *intptr = *intptr + 1; + } + break; case sIPQoS: arg = strdelim(&cp);