summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2020-03-10 17:02:21 +0000
committerjsing <>2020-03-10 17:02:21 +0000
commit2fc4169a1040fb41912043d6a402741eceda793f (patch)
tree2214ec4c580fdd9fa5d8199893b2deab09b04e8c /src/lib/libssl/ssl_locl.h
parentfb8d28aeb36c4bb18f6fcbfcdb61a6ba1099d7c0 (diff)
downloadopenbsd-2fc4169a1040fb41912043d6a402741eceda793f.tar.gz
openbsd-2fc4169a1040fb41912043d6a402741eceda793f.tar.bz2
openbsd-2fc4169a1040fb41912043d6a402741eceda793f.zip
Remove the enc function pointers.
The enc function pointers do not serve any purpose these days - remove a layer of indirection and call dtls1_enc()/tls1_enc() directly. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index b254ee59a8..77c1a51798 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.266 2020/02/21 16:18:52 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.267 2020/03/10 17:02:21 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 *
@@ -1013,7 +1013,6 @@ typedef struct sess_cert_st {
1013/*#define RSA_DEBUG */ 1013/*#define RSA_DEBUG */
1014 1014
1015typedef struct ssl3_enc_method { 1015typedef struct ssl3_enc_method {
1016 int (*enc)(SSL *, int);
1017 unsigned int enc_flags; 1016 unsigned int enc_flags;
1018} SSL3_ENC_METHOD; 1017} SSL3_ENC_METHOD;
1019 1018