diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-10-04 08:27:10 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-10-16 09:04:53 +0200 |
commit | ba87e9391002aa7c2bad9adb9e005f817f6f613e (patch) | |
tree | 450a8936716281baa5918a62b34f2d96a76bccc2 /lib/includes/gnutls/pkcs11.h | |
parent | 8dd5b32b5a1a709d90bced2959b80a16af66389f (diff) | |
download | gnutls-tmp-auto-reauth.tar.gz |
_gnutls_server_select_cert: return error when no server cert is selectedtmp-auto-reauth
When a certificate callback is used and no certificate is provided
by it, return an error rather than trying to use it (and crashing)
later. Note that this affects only an "illegal" code path when
a server would have provided no certificate, something which must
not happen on a real-world server.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/includes/gnutls/pkcs11.h')
0 files changed, 0 insertions, 0 deletions