fix bug: resolve the compile error when OPENSSL_NO_TLSEXT was defined

Signed-off-by: jason <liu_yt@neusoft.com>