summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/bio_enc.c
diff options
context:
space:
mode:
authortb <>2022-11-26 16:08:57 +0000
committertb <>2022-11-26 16:08:57 +0000
commit81d98bf600a381a625eb11b39a725b08c0ba547f (patch)
tree556ebf909e81599dc3d8da585217d1576eabe0e4 /src/lib/libcrypto/evp/bio_enc.c
parent9171ca1447e11e58ff2d00ba6d28293a138ae41a (diff)
downloadopenbsd-81d98bf600a381a625eb11b39a725b08c0ba547f.tar.gz
openbsd-81d98bf600a381a625eb11b39a725b08c0ba547f.tar.bz2
openbsd-81d98bf600a381a625eb11b39a725b08c0ba547f.zip
Make internal header file names consistent
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special. Adjust all .c files in libcrypto, libssl and regress. The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually. discussed with jsing, no objection bcook
Diffstat (limited to 'src/lib/libcrypto/evp/bio_enc.c')
-rw-r--r--src/lib/libcrypto/evp/bio_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/bio_enc.c b/src/lib/libcrypto/evp/bio_enc.c
index 2a0f76fcbe..098b1ea32b 100644
--- a/src/lib/libcrypto/evp/bio_enc.c
+++ b/src/lib/libcrypto/evp/bio_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_enc.c,v 1.26 2022/01/14 08:40:57 tb Exp $ */ 1/* $OpenBSD: bio_enc.c,v 1.27 2022/11/26 16:08:52 tb 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 *
@@ -64,7 +64,7 @@
64#include <openssl/evp.h> 64#include <openssl/evp.h>
65 65
66#include "bio_local.h" 66#include "bio_local.h"
67#include "evp_locl.h" 67#include "evp_local.h"
68 68
69static int enc_write(BIO *h, const char *buf, int num); 69static int enc_write(BIO *h, const char *buf, int num);
70static int enc_read(BIO *h, char *buf, int size); 70static int enc_read(BIO *h, char *buf, int size);