diff options
author | Nils Larsch <nils@openssl.org> | 2005-08-28 22:49:57 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-08-28 22:49:57 +0000 |
commit | 8215e7a93897347a97de87b3d26fe84cc8a5b05d (patch) | |
tree | 8b36ff9369a0e0a6f6fde828209564a32715080c /ssl/ssl_lib.c | |
parent | f7622f86d939c2761b2ab148311b870e0785df12 (diff) | |
download | openssl-8215e7a93897347a97de87b3d26fe84cc8a5b05d.zip openssl-8215e7a93897347a97de87b3d26fe84cc8a5b05d.tar.gz openssl-8215e7a93897347a97de87b3d26fe84cc8a5b05d.tar.bz2 |
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
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 6955215..9e18e77 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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) |