ssl_store_cert(): Declare a variable at the beginning of the the code block
authorFabian Keil <fk@fabiankeil.de>
Sat, 19 Dec 2020 16:10:15 +0000 (17:10 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 20 Dec 2020 09:59:39 +0000 (10:59 +0100)
commit0721803ed9b8e7446e7915d4cb53f2284f0631f5
treea08d08ce3294051013d409b56b9331538d6e63b9
parentc7c23a7446807a7529c81cc74ef9c8412bae929c
ssl_store_cert(): Declare a variable at the beginning of the the code block

... to silence:

    cc -c -pipe -fstack-protector-all -ggdb -Wshadow  -Wconversion -I/usr/local/include/  -pthread -Wall -std=c89   openssl.c -o openssl.o
    openssl.c:408:12: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
          for (int i = 0; i < bs->length; i++)
               ^
openssl.c