summaryrefslogtreecommitdiff
path: root/openvpn/src/openvpn/pkcs11.c
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/src/openvpn/pkcs11.c')
-rw-r--r--openvpn/src/openvpn/pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openvpn/src/openvpn/pkcs11.c b/openvpn/src/openvpn/pkcs11.c
index 645f1f48..3a15ef68 100644
--- a/openvpn/src/openvpn/pkcs11.c
+++ b/openvpn/src/openvpn/pkcs11.c
@@ -887,7 +887,7 @@ show_pkcs11_ids (
(dn = pkcs11_certificate_dn (
certificate,
&gc
- ))
+ )) == NULL
) {
goto cleanup1;
}