X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=rsa.c;h=efcb650fc216c3a2965b2bb45d0b85e3158478f3;hb=056032a8d468008b1de85c6b48aad26ca02dd75d;hp=1d3c0e80b4fe69628e723680ced15a55618898a2;hpb=800c04e5b55daf642bb07b364d79730a885f23cb;p=secnet.git diff --git a/rsa.c b/rsa.c index 1d3c0e8..efcb650 100644 --- a/rsa.c +++ b/rsa.c @@ -791,9 +791,10 @@ static list_t *rsapriv_apply(closure_t *self, struct cloc loc, dict_t *context, if (!f) { if (just_check_config) { Message(M_WARNING,"rsa-private (%s:%d): cannot open keyfile " - "\"%s\"; assuming it's valid while we check the " - "rest of the configuration\n",loc.file,loc.line,filename); - return NULL; + "\"%s\" (%s); assuming it's valid while we check the " + "rest of the configuration\n", + loc.file,loc.line,filename,strerror(errno)); + return list_new(); } else { fatal_perror("rsa-private (%s:%d): cannot open file \"%s\"", loc.file,loc.line,filename);