ckclib.c:3369:9: warning: expression result unused [-Wunused-value] *s2++; ^~~~~ 1 warning generated. ckuus7.c:14615:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14618:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14678:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14687:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14690:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14797:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14805:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14808:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14813:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14816:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14819:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14822:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14825:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14828:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14831:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14834:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14837:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14840:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14843:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14846:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14849:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14868:52: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14872:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14874:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14876:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14881:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14883:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14885:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14892:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14894:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14897:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14901:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14910:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14912:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14915:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14919:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ 36 warnings generated. ckctel.c:1493:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hi = gethostbyname(host)) ~~~^~~~~~~~~~~~~~~~~~~~~ ckctel.c:1493:24: note: place parentheses around the assignment to silence this warning if (hi = gethostbyname(host)) ^ ( ) ckctel.c:1493:24: note: use '==' to turn this assignment into an equality comparison if (hi = gethostbyname(host)) ^ == 1 warning generated. ckcftp.c:10748:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ~~^~~~~~~~~~~~~~~~~~~~~~ ckcftp.c:10748:15: note: place parentheses around the assignment to silence this warning if (p = getenv("SSL_CIPHER")) { ^ ( ) ckcftp.c:10748:15: note: use '==' to turn this assignment into an equality comparison if (p = getenv("SSL_CIPHER")) { ^ == 1 warning generated. ckuath.c:12863:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (name = getenv ("XAUTHORITY")) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ckuath.c:12863:14: note: place parentheses around the assignment to silence this warning if (name = getenv ("XAUTHORITY")) ^ ( ) ckuath.c:12863:14: note: use '==' to turn this assignment into an equality comparison if (name = getenv ("XAUTHORITY")) ^ == 1 warning generated. ck_crp.c:397:5: warning: implicit declaration of function 'des_random_seed' is invalid in C99 [-Wimplicit-function-declaration] des_random_seed(B); ^ ck_crp.c:418:10: warning: implicit declaration of function 'des_random_key' is invalid in C99 [-Wimplicit-function-declaration] rc = des_random_key(B); ^ ck_crp.c:1288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ep = finddecryption(decrypt_mode)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_crp.c:1288:12: note: place parentheses around the assignment to silence this warning if (ep = finddecryption(decrypt_mode)) { ^ ( ) ck_crp.c:1288:12: note: use '==' to turn this assignment into an equality comparison if (ep = finddecryption(decrypt_mode)) { ^ == ck_crp.c:2142:9: warning: implicit declaration of function 'des_ecb_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb_encrypt(fbp->temp_feed, fbp->temp_feed, ^ ck_crp.c:2414:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] key ? key->length : 0, sizeof(Block)); /* safe */ ^~~~~~~~~~~~~ ck_crp.c:2447:9: warning: implicit declaration of function 'des_set_odd_parity' is invalid in C99 [-Wimplicit-function-declaration] des_fixup_key_parity(fbp->krbdes_key); ^ ck_crp.c:298:39: note: expanded from macro 'des_fixup_key_parity' #define des_fixup_key_parity des_set_odd_parity ^ ck_crp.c:2453:9: warning: implicit declaration of function 'des_set_odd_parity' is invalid in C99 [-Wimplicit-function-declaration] des_fixup_key_parity(fbp->krbdes_key); ^ ck_crp.c:298:39: note: expanded from macro 'des_fixup_key_parity' #define des_fixup_key_parity des_set_odd_parity ^ ck_crp.c:2467:10: warning: implicit declaration of function 'des_key_sched' is invalid in C99 [-Wimplicit-function-declaration] rc = des_key_sched(fbp->krbdes_key, fbp->krbdes_sched); ^ ck_crp.c:2623:10: warning: implicit declaration of function 'des_key_sched' is invalid in C99 [-Wimplicit-function-declaration] rc = des_key_sched(stp->str_ikey, stp->str_sched); ^ ck_crp.c:2665:10: warning: implicit declaration of function 'des_key_sched' is invalid in C99 [-Wimplicit-function-declaration] rc = des_key_sched(key, stp->str_sched); ^ ck_crp.c:2724:13: warning: implicit declaration of function 'des_ecb_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb_encrypt(stp->str_output, b, stp->str_sched, 1); ^ ck_crp.c:2762:9: warning: implicit declaration of function 'des_ecb_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb_encrypt(stp->str_output, b, stp->str_sched, 1); ^ ck_crp.c:2808:13: warning: implicit declaration of function 'des_ecb_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb_encrypt(stp->str_feed, b, stp->str_sched, 1); ^ ck_crp.c:2843:9: warning: implicit declaration of function 'des_ecb_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb_encrypt(stp->str_feed, b, stp->str_sched, 1); ^ ck_crp.c:2960:9: warning: implicit declaration of function 'des_ecb3_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb3_encrypt(fbp->temp_feed, fbp->temp_feed, ^ ck_crp.c:3282:9: warning: implicit declaration of function 'des_set_odd_parity' is invalid in C99 [-Wimplicit-function-declaration] des_fixup_key_parity(fbp->krbdes_key[i]); ^ ck_crp.c:298:39: note: expanded from macro 'des_fixup_key_parity' #define des_fixup_key_parity des_set_odd_parity ^ ck_crp.c:3336:14: warning: implicit declaration of function 'des_key_sched' is invalid in C99 [-Wimplicit-function-declaration] rc = des_key_sched(fbp->krbdes_key[i], fbp->krbdes_sched[i]); ^ ck_crp.c:3491:14: warning: implicit declaration of function 'des_key_sched' is invalid in C99 [-Wimplicit-function-declaration] rc = des_key_sched(stp->str_ikey[i], stp->str_sched[i]); ^ ck_crp.c:3524:14: warning: implicit declaration of function 'des_key_sched' is invalid in C99 [-Wimplicit-function-declaration] rc = des_key_sched(key[i], stp->str_sched[i]); ^ ck_crp.c:3583:13: warning: implicit declaration of function 'des_ecb3_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb3_encrypt(stp->str_output, b, stp->str_sched[0], ^ ck_crp.c:3627:9: warning: implicit declaration of function 'des_ecb3_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb3_encrypt(stp->str_output, b, stp->str_sched[0], ^ ck_crp.c:3683:13: warning: implicit declaration of function 'des_ecb3_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb3_encrypt(stp->str_feed, b, stp->str_sched[0], ^ ck_crp.c:3724:9: warning: implicit declaration of function 'des_ecb3_encrypt' is invalid in C99 [-Wimplicit-function-declaration] des_ecb3_encrypt(stp->str_feed, b, stp->str_sched[0], ^ ck_crp.c:4489:48: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cast_fb64_printsub(data, cnt, buf, buflen, "CFB64"); ^~~~~~~ ck_crp.c:4497:48: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cast_fb64_printsub(data, cnt, buf, buflen, "OFB64"); ^~~~~~~ 25 warnings generated. ck_ssl.c:853:19: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations] rsa_tmp = RSA_new(); ^ /usr/include/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:855:18: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations] int error = RSA_generate_key_ex(rsa_tmp, keylength, get_RSA_F4(),NULL); ^ /usr/include/openssl/rsa.h:260:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:859:3: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa_tmp); ^ /usr/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:976:13: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] if ((dh=DH_new()) == NULL) ^ /usr/include/openssl/dh.h:203:1: note: 'DH_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:984:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /usr/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:987:5: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] DH_set0_pqg(dh, p, NULL, g); ^ /usr/include/openssl/dh.h:259:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1008:13: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] if ((dh=DH_new()) == NULL) ^ /usr/include/openssl/dh.h:203:1: note: 'DH_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1016:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /usr/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1019:5: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] DH_set0_pqg(dh, p, NULL, g); ^ /usr/include/openssl/dh.h:259:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1040:13: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] if ((dh=DH_new()) == NULL) ^ /usr/include/openssl/dh.h:203:1: note: 'DH_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1048:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /usr/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1051:5: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] DH_set0_pqg(dh, p, NULL, g); ^ /usr/include/openssl/dh.h:259:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1072:13: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] if ((dh=DH_new()) == NULL) ^ /usr/include/openssl/dh.h:203:1: note: 'DH_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1080:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /usr/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1083:5: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] DH_set0_pqg(dh, p, NULL, g); ^ /usr/include/openssl/dh.h:259:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1104:13: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] if ((dh=DH_new()) == NULL) ^ /usr/include/openssl/dh.h:203:1: note: 'DH_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1112:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dh); ^ /usr/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1115:5: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations] DH_set0_pqg(dh, p, NULL, g); ^ /usr/include/openssl/dh.h:259:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1148:20: warning: 'PEM_read_bio_DHparams' is deprecated [-Wdeprecated-declarations] dh_tmp=PEM_read_bio_DHparams(bio,NULL,NULL,NULL); ^ /usr/include/openssl/pem.h:469:21: note: 'PEM_read_bio_DHparams' has been explicitly marked deprecated here DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1981:13: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated [-Wdeprecated-declarations] SSL_CTX_set_tmp_dh_callback( ssl_ctx, tmp_dh_cb); ^ /usr/include/openssl/ssl.h:2226:1: note: 'SSL_CTX_set_tmp_dh_callback' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:1983:13: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated [-Wdeprecated-declarations] SSL_CTX_set_tmp_dh_callback( tls_ctx, tmp_dh_cb); ^ /usr/include/openssl/ssl.h:2226:1: note: 'SSL_CTX_set_tmp_dh_callback' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:2003:9: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations] rsa = RSA_new(); ^ /usr/include/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:2005:19: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations] int error = RSA_generate_key_ex(rsa,512,get_RSA_F4(),NULL); ^ /usr/include/openssl/rsa.h:260:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:2007:8: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /usr/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:2028:17: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /usr/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ck_ssl.c:2352:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ~~^~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:2352:15: note: place parentheses around the assignment to silence this warning if (p = getenv("SSL_CIPHER")) { ^ ( ) ck_ssl.c:2352:15: note: use '==' to turn this assignment into an equality comparison if (p = getenv("SSL_CIPHER")) { ^ == ck_ssl.c:2669:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ~~^~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:2669:15: note: place parentheses around the assignment to silence this warning if (p = getenv("SSL_CIPHER")) { ^ ( ) ck_ssl.c:2669:15: note: use '==' to turn this assignment into an equality comparison if (p = getenv("SSL_CIPHER")) { ^ == ck_ssl.c:2705:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:2705:21: note: place parentheses around the assignment to silence this warning if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ( ) ck_ssl.c:2705:21: note: use '==' to turn this assignment into an equality comparison if (server_cert = SSL_get_peer_certificate(ssl)) { ^ == ck_ssl.c:2751:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:2751:21: note: place parentheses around the assignment to silence this warning if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ( ) ck_ssl.c:2751:21: note: use '==' to turn this assignment into an equality comparison if (server_cert = SSL_get_peer_certificate(ssl)) { ^ == ck_ssl.c:2783:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:2783:21: note: place parentheses around the assignment to silence this warning if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ( ) ck_ssl.c:2783:21: note: use '==' to turn this assignment into an equality comparison if (server_cert = SSL_get_peer_certificate(ssl)) { ^ == ck_ssl.c:2807:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:2807:21: note: place parentheses around the assignment to silence this warning if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ( ) ck_ssl.c:2807:21: note: use '==' to turn this assignment into an equality comparison if (server_cert = SSL_get_peer_certificate(ssl)) { ^ == ck_ssl.c:3070:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (client_cert = SSL_get_peer_certificate(ssl)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3070:21: note: place parentheses around the assignment to silence this warning if (client_cert = SSL_get_peer_certificate(ssl)) { ^ ( ) ck_ssl.c:3070:21: note: use '==' to turn this assignment into an equality comparison if (client_cert = SSL_get_peer_certificate(ssl)) { ^ == ck_ssl.c:3102:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3102:21: note: place parentheses around the assignment to silence this warning if (server_cert = SSL_get_peer_certificate(ssl)) { ^ ( ) ck_ssl.c:3102:21: note: use '==' to turn this assignment into an equality comparison if (server_cert = SSL_get_peer_certificate(ssl)) { ^ == ck_ssl.c:3151:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strstr(p, ".")) { ~~^~~~~~~~~~~~~~~~ ck_ssl.c:3151:14: note: place parentheses around the assignment to silence this warning while (p = strstr(p, ".")) { ^ ( ) ck_ssl.c:3151:14: note: use '==' to turn this assignment into an equality comparison while (p = strstr(p, ".")) { ^ == ck_ssl.c:3156:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strstr(p, ".")) { ~~^~~~~~~~~~~~~~~~ ck_ssl.c:3156:14: note: place parentheses around the assignment to silence this warning while (p = strstr(p, ".")) { ^ ( ) ck_ssl.c:3156:14: note: use '==' to turn this assignment into an equality comparison while (p = strstr(p, ".")) { ^ == ck_ssl.c:3170:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strstr(p, ".")) { ~~^~~~~~~~~~~~~~~~ ck_ssl.c:3170:14: note: place parentheses around the assignment to silence this warning while (p = strstr(p, ".")) { ^ ( ) ck_ssl.c:3170:14: note: use '==' to turn this assignment into an equality comparison while (p = strstr(p, ".")) { ^ == ck_ssl.c:3175:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strstr(p, ".")) { ~~^~~~~~~~~~~~~~~~ ck_ssl.c:3175:14: note: place parentheses around the assignment to silence this warning while (p = strstr(p, ".")) { ^ ( ) ck_ssl.c:3175:14: note: use '==' to turn this assignment into an equality comparison while (p = strstr(p, ".")) { ^ == ck_ssl.c:3291:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_DNS)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3291:21: note: place parentheses around the assignment to silence this warning if (dNSName = tls_get_SAN_objs(ssl,GEN_DNS)) { ^ ( ) ck_ssl.c:3291:21: note: use '==' to turn this assignment into an equality comparison if (dNSName = tls_get_SAN_objs(ssl,GEN_DNS)) { ^ == ck_ssl.c:3298:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ipAddress = tls_get_SAN_objs(ssl,GEN_IPADD)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3298:23: note: place parentheses around the assignment to silence this warning if (ipAddress = tls_get_SAN_objs(ssl,GEN_IPADD)) { ^ ( ) ck_ssl.c:3298:23: note: use '==' to turn this assignment into an equality comparison if (ipAddress = tls_get_SAN_objs(ssl,GEN_IPADD)) { ^ == ck_ssl.c:3313:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_EMAIL)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3313:21: note: place parentheses around the assignment to silence this warning if (dNSName = tls_get_SAN_objs(ssl,GEN_EMAIL)) { ^ ( ) ck_ssl.c:3313:21: note: use '==' to turn this assignment into an equality comparison if (dNSName = tls_get_SAN_objs(ssl,GEN_EMAIL)) { ^ == ck_ssl.c:3320:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_URI)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3320:21: note: place parentheses around the assignment to silence this warning if (dNSName = tls_get_SAN_objs(ssl,GEN_URI)) { ^ ( ) ck_ssl.c:3320:21: note: use '==' to turn this assignment into an equality comparison if (dNSName = tls_get_SAN_objs(ssl,GEN_URI)) { ^ == ck_ssl.c:3327:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_OTHERNAME)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_ssl.c:3327:21: note: place parentheses around the assignment to silence this warning if (dNSName = tls_get_SAN_objs(ssl,GEN_OTHERNAME)) { ^ ( ) ck_ssl.c:3327:21: note: use '==' to turn this assignment into an equality comparison if (dNSName = tls_get_SAN_objs(ssl,GEN_OTHERNAME)) { ^ == 42 warnings generated.