Backport TLS v1.2 support from HEAD.
[openssl.git] / ssl / d1_srvr.c
index f6d72f5fa601048b17e48fa38e8973a9a44757ee..2d63199dd60a68fa8f525e6dbc31d81502892bdc 100644 (file)
@@ -1139,7 +1139,7 @@ int dtls1_send_server_key_exchange(SSL *s)
                if (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL)
                        && !(s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK))
                        {
-                       if ((pkey=ssl_get_sign_pkey(s,s->s3->tmp.new_cipher))
+                       if ((pkey=ssl_get_sign_pkey(s,s->s3->tmp.new_cipher, NULL))
                                == NULL)
                                {
                                al=SSL_AD_DECODE_ERROR;