Convert ClientVerify Construction to WPACKET
[openssl.git] / ssl / statem / statem_srvr.c
index 818f48d2e36217ef76254e978480c38d60cb0185..7536e6ef1555ae5bcb503b91b13c174e92543a58 100644 (file)
@@ -1918,7 +1918,7 @@ int tls_construct_server_key_exchange(SSL *s)
         if (md) {
             /* send signature algorithm */
             if (SSL_USE_SIGALGS(s)) {
-                if (!tls12_get_sigandhash(p, pkey, md)) {
+                if (!tls12_get_sigandhash_old(p, pkey, md)) {
                     /* Should never happen */
                     al = SSL_AD_INTERNAL_ERROR;
                     SSLerr(SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE,