diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-05-10 11:25:32 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-05-10 11:25:32 +0200 |
commit | 101d1c013d5affe34c5b51e1459f6fb695eaa8d8 (patch) | |
tree | f85a69a2ad6f998b9da98657fa5b02cc76d11afd /lib/gnutls_cert.c | |
parent | 10aacc9b66b807e94e2cd1589fb3d443b1c9ff16 (diff) | |
download | gnutls-101d1c013d5affe34c5b51e1459f6fb695eaa8d8.tar.gz |
removed legacy code.
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r-- | lib/gnutls_cert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index 11817a473b..9ed0609acb 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -584,7 +584,7 @@ _gnutls_openpgp_crt_verify_peers(gnutls_session_t session, return GNUTLS_E_INVALID_REQUEST; cred = (gnutls_certificate_credentials_t) - _gnutls_get_cred(session, GNUTLS_CRD_CERTIFICATE, NULL); + _gnutls_get_cred(session, GNUTLS_CRD_CERTIFICATE); if (cred == NULL) { gnutls_assert(); return GNUTLS_E_INSUFFICIENT_CREDENTIALS; |