Browse Source

[mod_openssl] fix C90 mixed declarations and code warning

Change-Id: I04f5e5dba87b7174eb5e93d18bddb5fb0ba717e9
personal/stbuehler/wip
Stefan Bühler 4 years ago
parent
commit
b3dcc9662e
  1. 5
      src/modules/openssl_filter.c

5
src/modules/openssl_filter.c

@ -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