Ensure we don't call the OCSP callback if resuming a session
authorMatt Caswell <matt@openssl.org>
Mon, 30 Nov 2015 13:29:41 +0000 (13:29 +0000)
committerMatt Caswell <matt@openssl.org>
Sun, 27 Dec 2015 22:05:36 +0000 (22:05 +0000)
commit604f67f52109383f6aefc7c5bf2befaf7182eb98
treefbdd76f7c518b1637f4f0b4cebcb296a4f4b95b7
parenta7316aace3871b637b8099a2efe30af38f988ad4
Ensure we don't call the OCSP callback if resuming a session

It makes no sense to call the OCSP status callback if we are resuming a
session because no certificates will be sent.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(cherry picked from commit 0ac6239955965f58f9dddb4229e8cd58e0dba20d)
ssl/t1_lib.c