diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_lib.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_lib.c b/src/lib/libcrypto/evp/evp_lib.c index ad97a3b7b9..3571755620 100644 --- a/src/lib/libcrypto/evp/evp_lib.c +++ b/src/lib/libcrypto/evp/evp_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_lib.c,v 1.15 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: evp_lib.c,v 1.16 2018/08/24 19:36: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 | * |
@@ -207,6 +207,12 @@ EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) | |||
207 | return ctx->cipher; | 207 | return ctx->cipher; |
208 | } | 208 | } |
209 | 209 | ||
210 | int | ||
211 | EVP_CIPHER_CTX_encrypting(const EVP_CIPHER_CTX *ctx) | ||
212 | { | ||
213 | return ctx->encrypt; | ||
214 | } | ||
215 | |||
210 | unsigned long | 216 | unsigned long |
211 | EVP_CIPHER_flags(const EVP_CIPHER *cipher) | 217 | EVP_CIPHER_flags(const EVP_CIPHER *cipher) |
212 | { | 218 | { |