fix warnings when building openssl with the following compiler options:
-Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar -Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts -Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused -Wno-unused-parameter -Wuninitialized
This commit is contained in:
@@ -138,7 +138,14 @@ SSL3_ENC_METHOD ssl3_undef_enc_method={
|
||||
ssl_undefined_function,
|
||||
(int (*)(SSL *, unsigned char *, unsigned char *, int))ssl_undefined_function,
|
||||
(int (*)(SSL*, int))ssl_undefined_function,
|
||||
(int (*)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char*, int, unsigned char *))ssl_undefined_function
|
||||
(int (*)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char*, int, unsigned char *))ssl_undefined_function,
|
||||
0, /* finish_mac_length */
|
||||
(int (*)(SSL *, EVP_MD_CTX *, unsigned char *))ssl_undefined_function,
|
||||
NULL, /* client_finished_label */
|
||||
0, /* client_finished_label_len */
|
||||
NULL, /* server_finished_label */
|
||||
0, /* server_finished_label_len */
|
||||
(int (*)(int))ssl_undefined_function
|
||||
};
|
||||
|
||||
int SSL_clear(SSL *s)
|
||||
|
Reference in New Issue
Block a user