diff options
Diffstat (limited to 'src/lib/libcrypto/evp/bio_b64.c')
-rw-r--r-- | src/lib/libcrypto/evp/bio_b64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/bio_b64.c b/src/lib/libcrypto/evp/bio_b64.c index ac6d441aad..27fc587ca8 100644 --- a/src/lib/libcrypto/evp/bio_b64.c +++ b/src/lib/libcrypto/evp/bio_b64.c | |||
@@ -113,7 +113,7 @@ static int b64_new(BIO *bi) | |||
113 | { | 113 | { |
114 | BIO_B64_CTX *ctx; | 114 | BIO_B64_CTX *ctx; |
115 | 115 | ||
116 | ctx=(BIO_B64_CTX *)OPENSSL_malloc(sizeof(BIO_B64_CTX)); | 116 | ctx=(BIO_B64_CTX *)malloc(sizeof(BIO_B64_CTX)); |
117 | if (ctx == NULL) return(0); | 117 | if (ctx == NULL) return(0); |
118 | 118 | ||
119 | ctx->buf_len=0; | 119 | ctx->buf_len=0; |
@@ -134,7 +134,7 @@ static int b64_new(BIO *bi) | |||
134 | static int b64_free(BIO *a) | 134 | static int b64_free(BIO *a) |
135 | { | 135 | { |
136 | if (a == NULL) return(0); | 136 | if (a == NULL) return(0); |
137 | OPENSSL_free(a->ptr); | 137 | free(a->ptr); |
138 | a->ptr=NULL; | 138 | a->ptr=NULL; |
139 | a->init=0; | 139 | a->init=0; |
140 | a->flags=0; | 140 | a->flags=0; |