hx509: Add missing format specifier
Found by Coverity (Samba CID 1544604). Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Nico Williams

parent
7ee2ddd71a
commit
d1b9d2c2f9
@@ -197,7 +197,7 @@ parse_pem_private_key(hx509_context context, const char *fn, int flags,
|
||||
if (strcmp(enc, "4,ENCRYPTED") != 0) {
|
||||
hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
|
||||
"Private key encrypted in unknown method %s "
|
||||
"in file",
|
||||
"in file %s",
|
||||
enc, fn);
|
||||
hx509_clear_error_string(context);
|
||||
return HX509_PARSING_KEY_FAILED;
|
||||
|
Reference in New Issue
Block a user