compilation cleaned
This commit is contained in:
parent
f4deb4e3d3
commit
73f891f666
@ -208,7 +208,11 @@ static int generate_cookie(SSL *ssl, unsigned char *cookie, unsigned int *cookie
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int verify_cookie(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len)
|
||||
static int verify_cookie(SSL *ssl,
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
const
|
||||
#endif
|
||||
unsigned char *cookie, unsigned int cookie_len)
|
||||
{
|
||||
unsigned int resultlength=0;
|
||||
unsigned char result[COOKIE_SECRET_LENGTH];
|
||||
|
||||
@ -2537,8 +2537,8 @@ static int decode_oauth_token_gcm(const u08bits *server_name, const encoded_oaut
|
||||
}
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
EVP_CIPHER_CTX *ctxp = &ctx;
|
||||
EVP_CIPHER_CTX ctx;
|
||||
EVP_CIPHER_CTX *ctxp = &ctx;
|
||||
#else
|
||||
EVP_CIPHER_CTX *ctxp = EVP_CIPHER_CTX_new();
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user