projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove EVP_CHECK_DES_KEY
[oweals/openssl.git]
/
crypto
/
evp
/
bio_ok.c
diff --git
a/crypto/evp/bio_ok.c
b/crypto/evp/bio_ok.c
index 7a38cd9e1a07b6e83ef1267753b84e00d49a13f0..8658f88a0599c6588b8aa335a3386735c0500b01 100644
(file)
--- a/
crypto/evp/bio_ok.c
+++ b/
crypto/evp/bio_ok.c
@@
-120,7
+120,7
@@
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <stdio.h>
#include <errno.h>
#include <assert.h>
-#include "cryptlib.h"
+#include "
internal/
cryptlib.h"
#include <openssl/buffer.h>
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/buffer.h>
#include <openssl/bio.h>
#include <openssl/evp.h>
@@
-176,21
+176,13
@@
static int ok_new(BIO *bi)
{
BIO_OK_CTX *ctx;
{
BIO_OK_CTX *ctx;
- ctx = OPENSSL_
m
alloc(sizeof(*ctx));
+ ctx = OPENSSL_
z
alloc(sizeof(*ctx));
if (ctx == NULL)
return (0);
if (ctx == NULL)
return (0);
- ctx->buf_len = 0;
- ctx->buf_off = 0;
- ctx->buf_len_save = 0;
- ctx->buf_off_save = 0;
ctx->cont = 1;
ctx->cont = 1;
- ctx->finished = 0;
- ctx->blockout = 0;
ctx->sigio = 1;
ctx->sigio = 1;
-
EVP_MD_CTX_init(&ctx->md);
EVP_MD_CTX_init(&ctx->md);
-
bi->init = 0;
bi->ptr = (char *)ctx;
bi->flags = 0;
bi->init = 0;
bi->ptr = (char *)ctx;
bi->flags = 0;