Browse Source

[mod_openssl] fix C90 mixed declarations and code warning

Change-Id: I04f5e5dba87b7174eb5e93d18bddb5fb0ba717e9
master
Stefan Bühler 3 years ago
parent
commit
b3dcc9662e
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/modules/openssl_filter.c

+ 4
- 1
src/modules/openssl_filter.c View File

@@ -237,9 +237,12 @@ static BIO_METHOD* get_cq_bio_method(void) {
}

static BIO* new_cq_bio(liOpenSSLFilter *f) {
BIO *bio;
BIO_METHOD *m = get_cq_bio_method();

if (NULL == m) return NULL;
BIO *bio = BIO_new(m);

bio = BIO_new(m);
BIO_set_data(bio, f);
BIO_set_init(bio, 1);
return bio;


Loading…
Cancel
Save