From: Razvan Cojocaru <[email protected]>

With an inline <crl-verify>, crl_file holds the PEM data, and the
"CRL: loaded" message printed all of it. Use print_key_filename() as
the other CRL messages do.

Change-Id: Ie5336121e8a48e5a63b509d6a30349be42d311f9
Signed-off-by: Razvan Cojocaru <[email protected]>
Acked-by: Frank Lichtenheld <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2216
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2216
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]>

        
diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c
index b95de8e..7fdb3c5 100644
--- a/src/openvpn/ssl_openssl.c
+++ b/src/openvpn/ssl_openssl.c
@@ -1415,7 +1415,8 @@
         }
         num_crls_loaded++;
     }
-    msg(M_INFO, "CRL: loaded %d CRLs from file %s", num_crls_loaded, crl_file);
+    msg(M_INFO, "CRL: loaded %d CRLs from file %s", num_crls_loaded,
+        print_key_filename(crl_file, crl_inline));
     ssl_ctx->crls = crls;
     BIO_free(in);
 }


_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to