2
0
Fork 0

[mod_openssl] fix C90 mixed declarations and code warning

Change-Id: I04f5e5dba87b7174eb5e93d18bddb5fb0ba717e9
This commit is contained in:
Stefan Bühler 2017-07-29 15:06:39 +02:00
parent 04e54a4388
commit b3dcc9662e
1 changed files with 4 additions and 1 deletions

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;