summaryrefslogtreecommitdiff
path: root/lib/x509/dn.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-10-04 08:27:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-10-16 09:04:53 +0200
commitba87e9391002aa7c2bad9adb9e005f817f6f613e (patch)
tree450a8936716281baa5918a62b34f2d96a76bccc2 /lib/x509/dn.c
parent8dd5b32b5a1a709d90bced2959b80a16af66389f (diff)
downloadgnutls-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/x509/dn.c')
0 files changed, 0 insertions, 0 deletions