[mod_openssl] fix C90 mixed declarations and code warning
Change-Id: I04f5e5dba87b7174eb5e93d18bddb5fb0ba717e9
This commit is contained in:
parent
04e54a4388
commit
b3dcc9662e
|
@ -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…
Reference in New Issue