diff options
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/servconf.c b/servconf.c index 30cd59840..9fe02d7e8 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | /* $OpenBSD: servconf.c,v 1.355 2019/12/15 18:57:30 djm Exp $ */ | 2 | /* $OpenBSD: servconf.c,v 1.356 2019/12/15 20:57:15 djm Exp $ */ |
3 | /* | 3 | /* |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
5 | * All rights reserved | 5 | * All rights reserved |
@@ -2032,7 +2032,18 @@ process_server_config_line(ServerOptions *options, char *line, | |||
2032 | 2032 | ||
2033 | case sSecurityKeyProvider: | 2033 | case sSecurityKeyProvider: |
2034 | charptr = &options->sk_provider; | 2034 | charptr = &options->sk_provider; |
2035 | goto parse_filename; | 2035 | arg = strdelim(&cp); |
2036 | if (!arg || *arg == '\0') | ||
2037 | fatal("%s line %d: missing file name.", | ||
2038 | filename, linenum); | ||
2039 | if (*activep && *charptr == NULL) { | ||
2040 | *charptr = strcasecmp(arg, "internal") == 0 ? | ||
2041 | xstrdup(arg) : derelativise_path(arg); | ||
2042 | /* increase optional counter */ | ||
2043 | if (intptr != NULL) | ||
2044 | *intptr = *intptr + 1; | ||
2045 | } | ||
2046 | break; | ||
2036 | 2047 | ||
2037 | case sIPQoS: | 2048 | case sIPQoS: |
2038 | arg = strdelim(&cp); | 2049 | arg = strdelim(&cp); |