summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbcook <>2017-08-13 21:10:42 +0000
committerbcook <>2017-08-13 21:10:42 +0000
commit51ce150047ad1c0f94b4e9a19f607a804e08598f (patch)
tree2af6d99dd4a5c83b4c1783c3a1a41639927d8e2c
parent9fc3669524ffd3d0ffaf2b50d35ed87ba2c123f7 (diff)
downloadopenbsd-51ce150047ad1c0f94b4e9a19f607a804e08598f.tar.gz
openbsd-51ce150047ad1c0f94b4e9a19f607a804e08598f.tar.bz2
openbsd-51ce150047ad1c0f94b4e9a19f607a804e08598f.zip
match function implementation with declaration, ok beck@, doug@
-rw-r--r--src/lib/libssl/t1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index c141dcef31..d71067d73c 100644
--- a/src/lib/libssl/t1_lib.c
+++ b/src/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_lib.c,v 1.133 2017/08/13 16:28:45 jsing Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.134 2017/08/13 21:10:42 bcook Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -270,7 +270,7 @@ tls1_ec_curve_id2nid(const uint16_t curve_id)
270} 270}
271 271
272uint16_t 272uint16_t
273tls1_ec_nid2curve_id(int nid) 273tls1_ec_nid2curve_id(const int nid)
274{ 274{
275 /* ECC curves from draft-ietf-tls-ecc-12.txt (Oct. 17, 2005) */ 275 /* ECC curves from draft-ietf-tls-ecc-12.txt (Oct. 17, 2005) */
276 switch (nid) { 276 switch (nid) {