summaryrefslogtreecommitdiffstats
path: root/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2017-08-13 21:10:42 +0000
committerbcook <bcook@openbsd.org>2017-08-13 21:10:42 +0000
commitdf3cb3f0ed63cd37d1fb64b1cdaa92ec2e3d1efc (patch)
treeaffbd8dcaa263a8b407f0d94591e94e05e3cc992 /lib/libssl/t1_lib.c
parentNew flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks instead (diff)
downloadwireguard-openbsd-df3cb3f0ed63cd37d1fb64b1cdaa92ec2e3d1efc.tar.xz
wireguard-openbsd-df3cb3f0ed63cd37d1fb64b1cdaa92ec2e3d1efc.zip
match function implementation with declaration, ok beck@, doug@
Diffstat (limited to 'lib/libssl/t1_lib.c')
-rw-r--r--lib/libssl/t1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c
index c141dcef317..d71067d73cc 100644
--- a/lib/libssl/t1_lib.c
+++ b/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t1_lib.c,v 1.133 2017/08/13 16:28:45 jsing Exp $ */
+/* $OpenBSD: t1_lib.c,v 1.134 2017/08/13 21:10:42 bcook Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -270,7 +270,7 @@ tls1_ec_curve_id2nid(const uint16_t curve_id)
}
uint16_t
-tls1_ec_nid2curve_id(int nid)
+tls1_ec_nid2curve_id(const int nid)
{
/* ECC curves from draft-ietf-tls-ecc-12.txt (Oct. 17, 2005) */
switch (nid) {