diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2021-12-01 09:06:31 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2021-12-01 09:06:31 +0000 |
commit | ccde8efe5fb30c7b44bda8fc6082cb02732ee543 (patch) | |
tree | c3553d8fd8bc5575101450bbc65dc7f6000bee82 /lib/libcrypto | |
parent | e45c3728b9c06ffa14a5e628276900dc79e2fea6 (diff) |
Remove dead code.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/evp/bio_enc.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/libcrypto/evp/bio_enc.c b/lib/libcrypto/evp/bio_enc.c index 7b559989527..33f611d178a 100644 --- a/lib/libcrypto/evp/bio_enc.c +++ b/lib/libcrypto/evp/bio_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_enc.c,v 1.22 2018/08/24 19:30:24 tb Exp $ */ +/* $OpenBSD: bio_enc.c,v 1.23 2021/12/01 09:06:30 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -384,26 +384,6 @@ enc_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) return (ret); } -/* -void BIO_set_cipher_ctx(b,c) -BIO *b; -EVP_CIPHER_ctx *c; - { - if (b == NULL) return; - - if ((b->callback != NULL) && - (b->callback(b,BIO_CB_CTRL,(char *)c,BIO_CTRL_SET,e,0L) <= 0)) - return; - - b->init=1; - ctx=(BIO_ENC_CTX *)b->ptr; - memcpy(ctx->cipher,c,sizeof(EVP_CIPHER_CTX)); - - if (b->callback != NULL) - b->callback(b,BIO_CB_CTRL,(char *)c,BIO_CTRL_SET,e,1L); - } -*/ - int BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, const unsigned char *i, int e) |