Added missing signature algorithm reflection functions
[openssl.git] / test / ssltest_old.c
index e974f6c15d3800e7852db318eaca68793d4b3ee5..92970776fdda87811caedf61344715775efe5ccf 100644 (file)
@@ -779,7 +779,7 @@ static void print_details(SSL *c_ssl, const char *prefix)
         }
         X509_free(cert);
     }
-    if (SSL_get_server_tmp_key(c_ssl, &pkey)) {
+    if (SSL_get_peer_tmp_key(c_ssl, &pkey)) {
         BIO_puts(bio_stdout, ", temp key: ");
         print_key_details(bio_stdout, pkey);
         EVP_PKEY_free(pkey);