]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set a proper error message for private key password callback
authorethan-thompson <ethan.thompson@networkradius.com>
Mon, 9 Sep 2024 15:15:07 +0000 (11:15 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 9 Sep 2024 15:22:22 +0000 (09:22 -0600)
Signed-off-by: ethan-thompson <ethan.thompson@networkradius.com>
src/lib/tls/session.c

index d27c1fa2f8ff544b565fd0a4031c8084c1964cfc..0d6394795e1f5e79fb99afc98c50930249eeaf3e 100644 (file)
@@ -265,7 +265,7 @@ int fr_tls_session_password_cb(char *buf, int size, int rwflag UNUSED, void *u)
         *      from stdin (causes server to block).
         */
        if (!u) {
-               ERROR("Certificate encrypted but no private_key_password configured");
+               ERROR("Private key encrypted but no private_key_password configured");
                return 0;
        }