summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2022-01-09 15:53:52 +0000
committerjsing <>2022-01-09 15:53:52 +0000
commit77684ce583168f113f26f620953f6f5d7dacbdfa (patch)
tree90bc16dc55d92926462c4968c6f81fed7fa68ec7 /src/lib/libssl/ssl_locl.h
parent98e7fb7a4c27b687b4de8145a37e1139507704b6 (diff)
downloadopenbsd-77684ce583168f113f26f620953f6f5d7dacbdfa.tar.gz
openbsd-77684ce583168f113f26f620953f6f5d7dacbdfa.tar.bz2
openbsd-77684ce583168f113f26f620953f6f5d7dacbdfa.zip
Swap arguments to ssl_check_srvr_ecc_cert_and_alg()
If a libssl function takes an SSL *, it should normally be the first argument.
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index d559e7148a..fcb369405c 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.379 2022/01/08 12:59:59 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.380 2022/01/09 15:53:52 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 *
@@ -1479,7 +1479,7 @@ int tls12_derive_master_secret(SSL *s, uint8_t *premaster_secret,
1479 size_t premaster_secret_len); 1479 size_t premaster_secret_len);
1480 1480
1481int ssl_using_ecc_cipher(SSL *s); 1481int ssl_using_ecc_cipher(SSL *s);
1482int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s); 1482int ssl_check_srvr_ecc_cert_and_alg(SSL *s, X509 *x);
1483 1483
1484void tls1_get_formatlist(SSL *s, int client_formats, const uint8_t **pformats, 1484void tls1_get_formatlist(SSL *s, int client_formats, const uint8_t **pformats,
1485 size_t *pformatslen); 1485 size_t *pformatslen);