Loading apps/pkcs7.c +5 −5 Original line number Diff line number Diff line Loading @@ -189,9 +189,9 @@ int MAIN(int argc, char **argv) if (infile == NULL) BIO_set_fp(in, stdin, BIO_NOCLOSE); else { if (BIO_read_filename(in, infile) <= 0) if (in == NULL) { perror(infile); if (BIO_read_filename(in, infile) <= 0) { BIO_printf(bio_err, "unable to load input file\n"); ERR_print_errors(bio_err); goto end; } } Loading apps/s_server.c +1 −1 Original line number Diff line number Diff line Loading @@ -303,7 +303,7 @@ static unsigned int psk_server_cb(SSL *ssl, const char *identity, } if (s_debug) BIO_printf(bio_s_out, "identity_len=%d identity=%s\n", identity ? (int)strlen(identity) : 0, identity); (int)strlen(identity), identity); /* here we could lookup the given identity e.g. from a database */ if (strcmp(identity, psk_identity) != 0) { Loading Loading
apps/pkcs7.c +5 −5 Original line number Diff line number Diff line Loading @@ -189,9 +189,9 @@ int MAIN(int argc, char **argv) if (infile == NULL) BIO_set_fp(in, stdin, BIO_NOCLOSE); else { if (BIO_read_filename(in, infile) <= 0) if (in == NULL) { perror(infile); if (BIO_read_filename(in, infile) <= 0) { BIO_printf(bio_err, "unable to load input file\n"); ERR_print_errors(bio_err); goto end; } } Loading
apps/s_server.c +1 −1 Original line number Diff line number Diff line Loading @@ -303,7 +303,7 @@ static unsigned int psk_server_cb(SSL *ssl, const char *identity, } if (s_debug) BIO_printf(bio_s_out, "identity_len=%d identity=%s\n", identity ? (int)strlen(identity) : 0, identity); (int)strlen(identity), identity); /* here we could lookup the given identity e.g. from a database */ if (strcmp(identity, psk_identity) != 0) { Loading