summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2014-12-06 13:51:06 +0000
committerjsing <>2014-12-06 13:51:06 +0000
commit9c3c275d21d2d69204d9b0ba8ac08101083cb082 (patch)
treebf970ac74fc18ba45834070bde1e0c9b24cc24fc /src/lib/libssl/ssl_locl.h
parent334a4892a7feb061e43aedcdcd147161b689e008 (diff)
downloadopenbsd-9c3c275d21d2d69204d9b0ba8ac08101083cb082.tar.gz
openbsd-9c3c275d21d2d69204d9b0ba8ac08101083cb082.tar.bz2
openbsd-9c3c275d21d2d69204d9b0ba8ac08101083cb082.zip
Use appropriate internal types for EC curves and formats, rather than
storing and processing in wire encoded form. Inspired by boringssl. ok miod@
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl_locl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 74cacd4eec..c425f67a5a 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.77 2014/11/18 05:33:43 miod Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.78 2014/12/06 13:51:06 jsing 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 *
@@ -800,8 +800,8 @@ int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s);
800 800
801SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); 801SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n);
802 802
803int tls1_ec_curve_id2nid(int curve_id); 803int tls1_ec_curve_id2nid(uint16_t curve_id);
804int tls1_ec_nid2curve_id(int nid); 804uint16_t tls1_ec_nid2curve_id(int nid);
805int tls1_check_curve(SSL *s, const unsigned char *p, size_t len); 805int tls1_check_curve(SSL *s, const unsigned char *p, size_t len);
806int tls1_get_shared_curve(SSL *s); 806int tls1_get_shared_curve(SSL *s);
807 807