summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-11-12 14:23:07 +0000
committerMatt Caswell <matt@openssl.org>2018-11-14 11:28:01 +0000
commit65d2c16cbe0da8efed2f285f59930297326fb435 (patch)
tree9eace2e0557186ee94a44b9435db515983c600e8 /ssl/t1_lib.c
parent2dc37bc2b4c678462a24d2904604e58c0c5ac1cb (diff)
Fix no-ec and no-tls1_2
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7620)
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index fe13a39c38..3415c6335f 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -949,6 +949,7 @@ size_t tls12_get_psigalgs(SSL *s, int sent, const uint16_t **psigs)
}
}
+#ifndef OPENSSL_NO_EC
/*
* Called by servers only. Checks that we have a sig alg that supports the
* specified EC curve.
@@ -979,6 +980,7 @@ int tls_check_sigalg_curve(const SSL *s, int curve)
return 0;
}
+#endif
/*
* Check signature algorithm is consistent with sent supported signature