summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-12-20 10:15:30 +0000
committertb <>2023-12-20 10:15:30 +0000
commitc0cd30c4ff668c8c13b4ff65ea9d6c956cb08b27 (patch)
tree5ede5babb157a8899c77ce4acd8ad35dd36f6f31
parent316b1ed28e5a3c52a29ece57583350d992fbc6c7 (diff)
downloadopenbsd-c0cd30c4ff668c8c13b4ff65ea9d6c956cb08b27.tar.gz
openbsd-c0cd30c4ff668c8c13b4ff65ea9d6c956cb08b27.tar.bz2
openbsd-c0cd30c4ff668c8c13b4ff65ea9d6c956cb08b27.zip
Remove commented out version of EVP_SealUpdate()
-rw-r--r--src/lib/libcrypto/evp/p_seal.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/evp/p_seal.c b/src/lib/libcrypto/evp/p_seal.c
index 7f29ea0ca2..e7b0e6f232 100644
--- a/src/lib/libcrypto/evp/p_seal.c
+++ b/src/lib/libcrypto/evp/p_seal.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p_seal.c,v 1.17 2023/11/18 09:37:15 tb Exp $ */ 1/* $OpenBSD: p_seal.c,v 1.18 2023/12/20 10:15:30 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 *
@@ -103,18 +103,6 @@ EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek,
103 return (npubk); 103 return (npubk);
104} 104}
105 105
106/* MACRO
107void EVP_SealUpdate(ctx,out,outl,in,inl)
108EVP_CIPHER_CTX *ctx;
109unsigned char *out;
110int *outl;
111unsigned char *in;
112int inl;
113 {
114 EVP_EncryptUpdate(ctx,out,outl,in,inl);
115 }
116*/
117
118int 106int
119EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 107EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
120{ 108{