summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/p_open.c
diff options
context:
space:
mode:
authortb <>2021-12-12 21:30:14 +0000
committertb <>2021-12-12 21:30:14 +0000
commitc1ae4c3a2dcb48029aaea219cb195e9dfe1d093d (patch)
tree68f1da62b9246ae5a21e41ac2ee05ee8307cfa6f /src/lib/libcrypto/evp/p_open.c
parenta0b1347b1dec62a1a5e864ed59314d2e9b42e15b (diff)
downloadopenbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.tar.gz
openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.tar.bz2
openbsd-c1ae4c3a2dcb48029aaea219cb195e9dfe1d093d.zip
Include evp_locl.h where it will be needed once most structs from
evp.h will be moved to evp_locl.h in an upcoming bump. ok inoguchi
Diffstat (limited to 'src/lib/libcrypto/evp/p_open.c')
-rw-r--r--src/lib/libcrypto/evp/p_open.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/p_open.c b/src/lib/libcrypto/evp/p_open.c
index 57a46706b9..e4c59e68db 100644
--- a/src/lib/libcrypto/evp/p_open.c
+++ b/src/lib/libcrypto/evp/p_open.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p_open.c,v 1.19 2017/05/02 03:59:44 deraadt Exp $ */ 1/* $OpenBSD: p_open.c,v 1.20 2021/12/12 21:30:13 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 *
@@ -69,6 +69,8 @@
69#include <openssl/rsa.h> 69#include <openssl/rsa.h>
70#include <openssl/x509.h> 70#include <openssl/x509.h>
71 71
72#include "evp_locl.h"
73
72int 74int
73EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, 75EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
74 const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv) 76 const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv)