summaryrefslogtreecommitdiff
path: root/lib/gnutls_pcert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_pcert.c')
-rw-r--r--lib/gnutls_pcert.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gnutls_pcert.c b/lib/gnutls_pcert.c
index 1211e2d6fb..3a6b6fee5c 100644
--- a/lib/gnutls_pcert.c
+++ b/lib/gnutls_pcert.c
@@ -396,8 +396,7 @@ _gnutls_get_auth_info_pcert (gnutls_pcert_st* pcert,
return gnutls_pcert_import_openpgp_raw(pcert,
&info->raw_certificate_list[0],
GNUTLS_OPENPGP_FMT_RAW,
- info->use_subkey ? info->
- subkey_id : NULL, GNUTLS_PCERT_NO_CERT);
+ info->subkey_id, GNUTLS_PCERT_NO_CERT);
#endif
default:
gnutls_assert ();